Notify.php
authorAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:49:03 +0000 (10:49 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:49:03 +0000 (10:49 +0800)
Notify.php

index 1f20ebf..5b47535 100644 (file)
@@ -302,7 +302,7 @@ class Pman_Core_Notify extends Pman
             //var_dump($info);
             
             // update if necessday.
-            if ($info['pid']) {
+            if ($info['pid'] && $p['pid'] != $info['pid']) {
                 echo "CHANING PID FROM " . $p['pid']  .  "  TO ". $info['pid']. "\n";
                 $p['pid'] = $info['pid'];
             }