Fixed Bug #1660584: PHP 5 Strict Standard
authormr-russ <mr-russ>
Thu, 5 Apr 2007 11:09:38 +0000 (11:09 +0000)
committermr-russ <mr-russ>
Thu, 5 Apr 2007 11:09:38 +0000 (11:09 +0000)
When strict is on, you must specify the same number of parameters in the
base class as in the derived classes.

HISTORY
libraries/decorator.inc.php

diff --git a/HISTORY b/HISTORY
index 201322a0cb0d4aab4ee90cf2e42148f301e3db53..7ad6afffd03fd1666db338c43ba9f6c47625874e 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -4,6 +4,10 @@ phpPgAdmin History
 Version 4.2
 -----------
 
+Bugs
+* Can't edit a report and set its comment to empty
+* Fix PHP5 Strict mode complaints 
+
 Translations
 * utf traditional chinese (Kuo Chaoyi)
 * utf simplified chinese (Kuo Chaoyi)
index 8207b230388a2e4bd75a2e82f268372084cc78bb..38642cdab5255e20db84834d491ad3a74a32276c 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: decorator.inc.php,v 1.7 2007/03/24 02:33:59 xzilla Exp $
+// $Id: decorator.inc.php,v 1.8 2007/04/05 11:09:38 mr-russ Exp $
 
 // This group of functions and classes provides support for
 // resolving values in a lazy manner (ie, as and when required)
@@ -113,7 +113,7 @@ class Decorator
                $this->esc = $esc;
        }
        
-       function value() {
+       function value($fields) {
                return $this->v;
        }
 }