summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/bookmark2tagservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php
index d09aee2..257db15 100644
--- a/services/bookmark2tagservice.php
+++ b/services/bookmark2tagservice.php
@@ -203,7 +203,7 @@ class Bookmark2TagService {
}
function &getTagsForBookmark($bookmarkid) {
- if (!is_int($bookmarkid)) {
+ if (!is_numeric($bookmarkid)) {
message_die(GENERAL_ERROR, 'Could not get tags (invalid bookmarkid)', '', __LINE__, __FILE__, $query);
return false;
}