minor fixes
authorNico Kaiser <nico@kaiser.me>
Tue, 18 Jun 2013 22:04:31 +0000 (00:04 +0200)
committerNico Kaiser <nico@kaiser.me>
Tue, 18 Jun 2013 22:04:31 +0000 (00:04 +0200)
web/lib/Dyndns/Hosts.php
web/lib/Dyndns/Server.php

index 211aba7..0d59e7f 100644 (file)
@@ -60,6 +60,7 @@ class Hosts
         
         $this->debug('Update: ' . $hostname . ':' . $ip);
         $this->updates[$hostname] = $ip;
+        return true;
     }
 
     /**
index 1512aee..6acfbe5 100644 (file)
@@ -181,6 +181,6 @@ class Server
 
     public function debug($message)
     {
-        $this->debugBuffer .= @date('M j G:i:s') . ' Dyndns: ' . $message . "\n";
+        $this->debugBuffer .= @date('M j H:i:s') . ' Dyndns: ' . $message . "\n";
     }
 }