From 7e97490d9aed4bc012a1b35fcd7958f60dfacff2 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 16 Jun 2009 14:58:07 +0200 Subject: [PATCH] Make sure we return an integer (Bug 8347). --- framework/History/lib/Horde/History.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/History/lib/Horde/History.php b/framework/History/lib/Horde/History.php index 9984a4e9c..90ed3efe7 100644 --- a/framework/History/lib/Horde/History.php +++ b/framework/History/lib/Horde/History.php @@ -295,7 +295,7 @@ class Horde_History } } - return $last; + return (int)$last; } /** -- 2.11.0