From e1a5ac7fface3c0463168d0e4c5d1d1737553a90 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 14 May 2014 12:04:02 +0000 Subject: [PATCH] Fix warning "Missing argument 1 for mail_sieve::get_rows() in sieve" --- mail/inc/class.mail_sieve.inc.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index 6e01784a90..813a41b03c 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -1055,16 +1055,13 @@ class mail_sieve /** * * Get the data for iterating the rows on rules list grid - * @param {array} $rows Array of rows - * @param {array} $readonlys Array of readonlys contents - * + * * @return {boolean|array} Array of rows | false if failed */ - function get_rows(&$rows) + function get_rows() { $rows = array(); - $this->getRules(null); /* ADDED BY GHORTH */ - //$this->saveSessionData(); + $this->getRules(null); if (is_array($this->rules) && !empty($this->rules) ) {