Index: maildrop.php
===================================================================
RCS file: /repository/ingo/lib/Script/maildrop.php,v
retrieving revision 1.25
diff -u -r1.25 maildrop.php
--- maildrop.php 9 Nov 2008 04:12:05 -0000 1.25
+++ maildrop.php 23 Mar 2009 20:54:13 -0000
@@ -669,18 +669,19 @@
return '';
}
- $text[] = "if( \\";
+ if (count($this->_conditions) > 0) {
+
+ $text[] = "if( \\";
- if (count($this->_conditions > 1)) {
$nest = false;
foreach ($this->_conditions as $condition) {
$cond = $nest ? $this->_combine : ' ';
$text[] = $cond . $condition['condition'] . $condition['flags'] . $condition['extra'] . " \\";
$nest = true;
}
- }
- $text[] = ')';
+ $text[] = ')';
+ }
foreach ($this->_action as $val) {
$text[] = $val;