Pman.php
authorAlan Knowles <alan@roojs.com>
Wed, 15 Mar 2017 04:13:54 +0000 (12:13 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 15 Mar 2017 04:13:54 +0000 (12:13 +0800)
Pman.php

index 81dc0a9..7fb3375 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -950,7 +950,7 @@ class Pman extends HTML_FlexyFramework_Page
         
         
         $reported = true;
-        $out = is_a($ex,'Exception') ? $err->getMessage() : $err->toString();
+        $out = is_a($ex,'Exception') ? $ex->getMessage() : $ex->toString();
         
         
         //print_R($bt); exit;