Some rewrites of double-quote to single-quote
[core.git] / inc / classes / exceptions / class_FrameworkException.php
index 4c1c73a979feaf12101865619cd9ee5da1b07653..f3a42895eaf2dcba6a719a394203c5d4acfe0f58 100644 (file)
@@ -124,8 +124,9 @@ abstract class FrameworkException extends ReflectionException {
                                        if (!is_array($debug)) {
                                                $info .= $debug.", ";
                                        } // END - if
-                               } // END - if
+                               } // END - foreach
 
+                               // Remove last chars (commata, space)
                                $info = substr($info, 0, -2);
                        } // END - if
 
@@ -147,8 +148,11 @@ abstract class FrameworkException extends ReflectionException {
                        // The message
                        $dbgMsg .= "\t at <em id=\"debug_id_".$dbgIndex."\">".$dbgIndex."</em> <em id=\"debug_file_".$dbgIndex."\">".$file."</em> (<em id=\"debug_line_".$dbgIndex."\">".$line."</em>) -&gt; ".$dbgInfo['function']."(".$info.")<br />\n";
                } // END - if
+
+               // Add end-message
                $dbgMsg .= "Debug backtrace end<br />\n";
 
+               // Return full debug message
                return $dbgMsg;
        }