aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-30 01:20:33 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-30 04:57:14 +0200
commitb25b73b5b41618247e8a239a332a148b45d7f75b (patch)
treee8b7403bee216af922a922df89a99c5438e9ad70
parentfa6d26b53c020940e38f632940f73dbbb56f6847 (diff)
downloadnextcloud-server-b25b73b5b41618247e8a239a332a148b45d7f75b.tar.gz
nextcloud-server-b25b73b5b41618247e8a239a332a148b45d7f75b.zip
Fixed potential error in logging.
-rw-r--r--apps/contacts/lib/vcard.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php
index ca171e792fc..990e790c035 100644
--- a/apps/contacts/lib/vcard.php
+++ b/apps/contacts/lib/vcard.php
@@ -79,7 +79,7 @@ class OC_Contacts_VCard{
return false;
}
} 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;
}
$cards = array();
@@ -129,7 +129,7 @@ class OC_Contacts_VCard{
return $result->fetchRow();
}
- /**
+ /**
* @brief Format property TYPE parameters for upgrading from v. 2.1
* @param $property Reference to a Sabre_VObject_Property.
* 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
* @param $property Reference to a Sabre_VObject_Property.
* The only encoding allowed in version 3.0 is 'b' for binary. All encoded strings