lib/kolab_sync_data.php
Aleksander Machniak
machniak at kolabsys.com
Wed Feb 20 09:48:52 CET 2013
lib/kolab_sync_data.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit b847691f57634118b9df9ccb0768e43187833506
Author: Aleksander Machniak <alec at alec.pl>
Date: Wed Feb 20 09:46:32 2013 +0100
Cast some data to string to workaround issue described in Bug #1635.
PHP Warning: DOMDocument::createTextNode() expects parameter 1 to be string
diff --git a/lib/kolab_sync_data.php b/lib/kolab_sync_data.php
index 795d534..43371bc 100644
--- a/lib/kolab_sync_data.php
+++ b/lib/kolab_sync_data.php
@@ -971,7 +971,8 @@ abstract class kolab_sync_data implements Syncroton_Data_IData
}
if (!empty($value)) {
- $params['data'] = $value;
+ // cast to string to workaround issue described in Bug #1635
+ $params['data'] = (string) $value;
}
if (!isset($params['type'])) {
More information about the commits
mailing list