1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Fixed potential error in logging.

This commit is contained in:
Thomas Tanghus 2012-07-30 01:20:33 +02:00
parent 745e294b0c
commit c4796b93de

View File

@ -79,7 +79,7 @@ class OC_Contacts_VCard{
return false; return false;
} }
} else { } else {
OCP\Util::writeLog('contacts', __CLASS__.'::'.__METHOD__.'. Addressbook id(s) argument is empty: '. $id, OCP\Util::DEBUG); OCP\Util::writeLog('contacts', __CLASS__.'::'.__METHOD__.'. Addressbook id(s) argument is empty: '. print_r($id, true), OCP\Util::DEBUG);
return false; return false;
} }
$cards = array(); $cards = array();
@ -129,7 +129,7 @@ class OC_Contacts_VCard{
return $result->fetchRow(); return $result->fetchRow();
} }
/** /**
* @brief Format property TYPE parameters for upgrading from v. 2.1 * @brief Format property TYPE parameters for upgrading from v. 2.1
* @param $property Reference to a Sabre_VObject_Property. * @param $property Reference to a Sabre_VObject_Property.
* In version 2.1 e.g. a phone can be formatted like: TEL;HOME;CELL:123456789 * In version 2.1 e.g. a phone can be formatted like: TEL;HOME;CELL:123456789
@ -145,7 +145,7 @@ class OC_Contacts_VCard{
} }
} }
/** /**
* @brief Decode properties for upgrading from v. 2.1 * @brief Decode properties for upgrading from v. 2.1
* @param $property Reference to a Sabre_VObject_Property. * @param $property Reference to a Sabre_VObject_Property.
* The only encoding allowed in version 3.0 is 'b' for binary. All encoded strings * The only encoding allowed in version 3.0 is 'b' for binary. All encoded strings