Oops.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 11:44:28 +0000 (13:44 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 11:44:28 +0000 (13:44 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/platal.php

index 89f8dc6..2a69b72 100644 (file)
@@ -332,7 +332,7 @@ class Platal
         global $platal;
         if (is_null(self::$_page)) {
             $pageclass = PL_PAGE_CLASS;
-            self::$_page = $pageclass();
+            self::$_page = new $pageclass();
         }
         return self::$_page;
     }