diff options
Diffstat (limited to 'it_debug.class')
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index c508b5e..8dc12c2 100644 --- a/it_debug.class +++ b/it_debug.class @@ -30,7 +30,7 @@ class it_debug * Constructor * @param $level Debug level. All debug() calls with a level <= $level are shown. */ -function it_debug($level=0) +function __construct($level=0) { $this->level = isset($GLOBALS['debug_level']) ? $GLOBALS['debug_level'] : $level; } |