Index and construct fixes
[fa-stable.git] / includes / errors.inc
index 1a66d96f701525780a0d9eddd29f32e2f17f86e9..a4618e8d84821bfd0e8ef1211a2aea342284f319 100644 (file)
@@ -32,7 +32,7 @@ function get_backtrace($html = false, $skip=0)
                }
                $str .= $tr['function'].'(';
                
-               if(is_array($tr['args'])) {
+               if(isset($tr['args']) && is_array($tr['args'])) {
                        $args = array();
                        foreach($tr['args'] as $n=>$a) {
                                if (is_object($tr['args'][$n]))