From: Michiel@unhosted Date: Wed, 5 Oct 2011 18:01:58 +0000 (+0200) Subject: correct wrong variable name in remoteStorage app X-Git-Tag: v3.0~103^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af6eb52b5ee8616d4dc36d51956b96345d9b26fb;p=nextcloud-server.git correct wrong variable name in remoteStorage app --- 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().'"
'; $entry .= 'Offending command was: '.$result->getDebugInfo().'
';