diff options
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 5b35fc1..2d4be89 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -112,7 +112,7 @@ function __construct($p = array(), $query = null) * Factory: Create classes of all database tables. Call statically. * @param $p array(key => value) of configuration data */ -function createclasses($p = array()) +static function createclasses($p = array()) { # Make sure singleton exists $dbi = $GLOBALS['it_dbi'] ? $GLOBALS['it_dbi'] : new it_dbi($p); |