Skip to content

Commit

Permalink
Wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 11, 2016
1 parent 64b2448 commit 7f04ae0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -553,7 +553,9 @@ public function updateState(
public function loadDeviceInfo($devId, $user = null, $params = array())
{
// See if we already have this device, for this user loaded
if (empty($params['force']) && !empty($this->_deviceInfo) && $this->_deviceInfo->id == $devId &&
if (empty($params['force']) &&
!empty($this->_deviceInfo) &&
$this->_deviceInfo->id == $devId &&
!empty($this->_deviceInfo) &&
$user == $this->_deviceInfo->user) {
return $this->_deviceInfo;
Expand Down

0 comments on commit 7f04ae0

Please sign in to comment.