diff options
Diffstat (limited to 'lib/class/shoutbox.class.php')
-rw-r--r-- | lib/class/shoutbox.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/shoutbox.class.php b/lib/class/shoutbox.class.php index 42a6c04a..be6c8a94 100644 --- a/lib/class/shoutbox.class.php +++ b/lib/class/shoutbox.class.php @@ -176,7 +176,7 @@ class shoutBox { $user = Dba::escape($GLOBALS['user']->id); $text = Dba::escape(strip_tags($data['comment'])); $date = time(); - $sticky = make_bool($data['sticky']); + $sticky = isset($data['sticky']) ? 1 : 0; $object_id = Dba::escape($data['object_id']); $object_type = Dba::escape($data['object_type']); |