Smaller data representation.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 23:28:22 +0000 (16:28 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 23:37:46 +0000 (16:37 -0700)
imp/ajax.php

index 06e9fcb..5ace1e6 100644 (file)
@@ -786,7 +786,7 @@ case 'ModifyPoll':
     $imptree = IMP_Imap_Tree::singleton();
 
     $result = new stdClass;
-    $result->add = (bool)$add;
+    $result->add = intval($add);
     $result->folder = $mbox;
 
     if ($add) {