Mailer.php
authorAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 03:17:42 +0000 (11:17 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 03:17:42 +0000 (11:17 +0800)
Mailer.php

index 94c338e..b6417ca 100644 (file)
@@ -533,10 +533,10 @@ class Pman_Core_Mailer {
     
     function log($val)
     {
-        if (!$debug < 1) {
+        if (!$this->debug < 1) {
             return;
         }
-        if ($debug < 2) {
+        if ($$this->debug < 2) {
             echo '<PRE>' . $val. "\n";
         }
         $fh = fopen('/tmp/core_mailer.log', 'a');