lib/kolab_sync_data.php

Aleksander Machniak machniak at kolabsys.com
Sat Aug 23 12:03:56 CEST 2014


 lib/kolab_sync_data.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 366774a0afe6531cadd0c0ba6f79985c11bdd09d
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Fri Aug 22 15:58:24 2014 -0400

    Fix typo causing that object descriptions were not synchronized (#3488)

diff --git a/lib/kolab_sync_data.php b/lib/kolab_sync_data.php
index 55fe439..ac452b1 100644
--- a/lib/kolab_sync_data.php
+++ b/lib/kolab_sync_data.php
@@ -1328,7 +1328,7 @@ abstract class kolab_sync_data implements Syncroton_Data_IData
         $real_length = $body_length = strlen($body);
 
         // truncate the body if needed
-        if (($trucateAt = $prefs[$type]['truncationSize']) && $body_length > $truncateAt) {
+        if (($truncateAt = $prefs[$type]['truncationSize']) && $body_length > $truncateAt) {
             $body        = mb_strcut($body, 0, $truncateAt);
             $body_length = strlen($body);
 




More information about the commits mailing list