From 7f975c8107153e2a1c75bd3c87f925afb1047443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 Feb 2011 14:53:47 +0100 Subject: [PATCH] Force bookmark ID to be integer --- import.php | 1 + 1 file changed, 1 insertion(+) diff --git a/import.php b/import.php index 4d648722d..2b03b567b 100644 --- a/import.php +++ b/import.php @@ -151,6 +151,7 @@ $bookmark_created = FALSE; // Bookmark Support: get a query back from bookmark if required if (!empty($id_bookmark)) { + $id_bookmark = (int)$id_bookmark; require_once './libraries/bookmark.lib.php'; switch ($action_bookmark) { case 0: // bookmarked query that have to be run