Skip to content

Commit

Permalink
Fix missing size on advanced search
Browse files Browse the repository at this point in the history
Signed-off-by: Michael M Slusarz <slusarz@horde.org>
  • Loading branch information
ctimoteo-fixeads authored and slusarz committed Aug 25, 2015
1 parent 2434057 commit f47c6f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/Imap_Client/lib/Horde/Imap/Client/Search/Query.php
Expand Up @@ -299,7 +299,9 @@ public function build($exts = array())
}
$cmds->add(array(
$key,
new Horde_Imap_Client_Data_Format_Number($val['size'])
new Horde_Imap_Client_Data_Format_Number(
empty($val['size']) ? 0 : $val['size']
)
));
}
}
Expand Down

0 comments on commit f47c6f6

Please sign in to comment.