From: Tom Needham Date: Sat, 18 Feb 2012 23:53:10 +0000 (+0000) Subject: Fixed call to OC_User. Thanks Burillo on IRC X-Git-Tag: v4.0.0beta~201^2~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71a2241aee6f5f372b43fe977e494fea8a98d9cd;p=nextcloud-server.git Fixed call to OC_User. Thanks Burillo on IRC --- diff --git a/apps/contacts/lib/app.php b/apps/contacts/lib/app.php index 016bd2b791a..ff348403a9b 100644 --- a/apps/contacts/lib/app.php +++ b/apps/contacts/lib/app.php @@ -53,7 +53,7 @@ class OC_Contacts_App { OC_Log::write('contacts', 'Addressbook not found: '. $id, OC_Log::ERROR); } else { - OC_Log::write('contacts', 'Addressbook('.$id.') is not from '.$OC_User::getUser(), OC_Log::ERROR); + OC_Log::write('contacts', 'Addressbook('.$id.') is not from '.OC_User::getUser(), OC_Log::ERROR); } OC_JSON::error(array('data' => array( 'message' => self::$l10n->t('This is not your addressbook.')))); // Same here (as with the contact error). Could this error be improved? exit();