diff options
Diffstat (limited to 'lib/class/flag.class.php')
-rw-r--r-- | lib/class/flag.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/flag.class.php b/lib/class/flag.class.php index fe5a0f8c..566822b2 100644 --- a/lib/class/flag.class.php +++ b/lib/class/flag.class.php @@ -40,7 +40,7 @@ class Flag { */ function Flag($flag_id=0) { - $this->id = $flag_id; + $this->id = intval($flag_id); if (!$this->id) { return false; } |