Fix E_NOTICE
authorChristian Weiske <cweiske@cweiske.de>
Sun, 21 May 2017 14:29:12 +0000 (16:29 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 21 May 2017 14:29:12 +0000 (16:29 +0200)
src/anoweco/Linkback.php

index 800a06a..b678a34 100644 (file)
@@ -47,7 +47,7 @@ class Linkback
         }
 
         if ($error) {
-            $pingState = $rowPost->comment_pingstate + 1;
+            $pingState = intval($rowPost->comment_pingstate) + 1;
         } else {
             $pingState = 'ok';
         }