diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 36c5188815caf0d9430637aab438261a37458e7b..fbbb7b48b9bdd7419f67a1b8903975dcf676839c 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -440,7 +440,7 @@ class RemoteAPICore {
         // run the indexer if page wasn't indexed yet
         idx_addPage($id);
 
-        return 0;
+        return true;
     }
 
     /**