diff options
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r-- | lib/class/catalog.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 50a48d31..5a229092 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -53,7 +53,7 @@ class Catalog { /* If we have passed an id then do something */ if ($catalog_id) { /* Assign id for use in get_info() */ - $this->id = $catalog_id; + $this->id = intval($catalog_id); /* Get the information from the db */ $info = $this->get_info(); |