Skip to content
Permalink
Browse files

Bug: 14147 Fix WHERE clause.

  • Loading branch information...
mrubinsk committed Nov 13, 2015
1 parent beae088 commit 805b9b5b80a55e80e506b7670847f843a511cc36
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
@@ -717,7 +717,7 @@ public function deviceExists($devId, $user = null)
$query = 'SELECT COUNT(*) FROM ' . $this->_syncDeviceTable
. ' d INNER JOIN ' . $this->_syncUsersTable
. ' u on d.device_id = u.device_id'
. ' WHERE device_id = ? AND device_user = ?';
. ' WHERE u.device_id = ? AND device_user = ?';
$values = array($devId, $user);
} else {
$query = 'SELECT COUNT(*) FROM ' . $this->_syncDeviceTable . ' WHERE device_id = ?';

0 comments on commit 805b9b5

Please sign in to comment.
You can’t perform that action at this time.