From: Michael M Slusarz Date: Wed, 10 Jun 2009 04:42:20 +0000 (-0600) Subject: Use intval, not boolean val. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a341808536cf3a46d29835978d98757f83711212;p=horde.git Use intval, not boolean val. --- diff --git a/imp/ajax.php b/imp/ajax.php index 42637334f..a9b900a51 100644 --- a/imp/ajax.php +++ b/imp/ajax.php @@ -18,8 +18,8 @@ function _generateDeleteResult($mbox, $indices, $change, $nothread = false) $result = new stdClass; $result->folder = $mbox; $result->uids = $GLOBALS['imp_imap']->ob->utils->toSequenceString($indices, array('mailbox' => true)); - $result->remove = ($GLOBALS['prefs']->getValue('hide_deleted') || - $GLOBALS['prefs']->getValue('use_trash')); + $result->remove = intval($GLOBALS['prefs']->getValue('hide_deleted') || + $GLOBALS['prefs']->getValue('use_trash')); $result->cacheid = $imp_mailbox->getCacheID($mbox); /* Check if we need to update thread information. */