Make sure we return an integer (Bug 8347).
authorJan Schneider <jan@horde.org>
Tue, 16 Jun 2009 12:58:07 +0000 (14:58 +0200)
committerJan Schneider <jan@horde.org>
Tue, 16 Jun 2009 12:59:10 +0000 (14:59 +0200)
framework/History/lib/Horde/History.php

index 9984a4e..90ed3ef 100644 (file)
@@ -295,7 +295,7 @@ class Horde_History
             }
         }
 
-        return $last;
+        return (int)$last;
     }
 
     /**