diff options
author | Michiel@unhosted <michiel@unhosted.org> | 2011-10-05 20:01:58 +0200 |
---|---|---|
committer | Michiel@unhosted <michiel@unhosted.org> | 2011-10-05 20:01:58 +0200 |
commit | af6eb52b5ee8616d4dc36d51956b96345d9b26fb (patch) | |
tree | 9eb492b424648748e0a57dda48f8801b09483a38 /apps | |
parent | d5931b8c48e83944ca545640d051d9c28e52bfb3 (diff) | |
download | nextcloud-server-af6eb52b5ee8616d4dc36d51956b96345d9b26fb.tar.gz nextcloud-server-af6eb52b5ee8616d4dc36d51956b96345d9b26fb.zip |
correct wrong variable name in remoteStorage app
Diffstat (limited to 'apps')
-rw-r--r-- | apps/remoteStorage/lib_remoteStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/lib_remoteStorage.php b/apps/remoteStorage/lib_remoteStorage.php index 259efb0da69..5677ab3c6e0 100644 --- a/apps/remoteStorage/lib_remoteStorage.php +++ b/apps/remoteStorage/lib_remoteStorage.php @@ -3,7 +3,7 @@ class OC_remoteStorage { public static function getValidTokens($ownCloudUser, $userAddress, $dataScope) { $query=OC_DB::prepare("SELECT token,appUrl FROM *PREFIX*authtoken WHERE user=? AND userAddress=? AND dataScope=? LIMIT 100"); - $result=$query->execute(array($user,$userAddress,$dataScope)); + $result=$query->execute(array($ownCloudUser,$userAddress,$dataScope)); if( PEAR::isError($result)) { $entry = 'DB Error: "'.$result->getMessage().'"<br />'; $entry .= 'Offending command was: '.$result->getDebugInfo().'<br />'; |