r1522: Adding a PHP4 constructor to the Authentication class
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 27 Mar 2007 02:18:47 +0000 (02:18 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 27 Mar 2007 02:18:47 +0000 (02:18 +0000)
docs/changes.txt
includes/auth/auth.php

index 9ce820a97b2c06e29448230c7754b4bc6084756f..eba7b4cbab6242fa9d939220d9137cca7a7edf21 100644 (file)
@@ -1,6 +1,7 @@
 1.2.0 Beta 3
 ===============================
 - Fixed: If Gettext isn't installed, a function-not-found error would be thrown
+- Fixed: On PHP4 systems, a "call to member non-object" error would be thrown because the Authentication class does not have a PHP4 constructor
 
 1.2.0 Beta 2
 ===============================
index 6326cf3aff5db35f20fc7414c97bc62357c474ca..8480ee790281bf4493e03a1a56fb2f00ceaf0a4d 100644 (file)
@@ -92,6 +92,15 @@ class Authentication
                $this->_setupDatabase();
        }
        
+       // ###################################################################
+       /**
+       * (PHP 4) Constructor
+       */
+       function Authentication()
+       {
+               $this->__construct();
+       }
+       
        // ###################################################################
        /**
        * Returns the information array for the Bugdar user. This must be