diff --git a/db-prefs.php b/db-prefs.php index 1c9bbd116..15f03c094 100644 --- a/db-prefs.php +++ b/db-prefs.php @@ -77,7 +77,7 @@ } } - function set_pref($link, $key, $value, $user_id) { + function set_pref($link, $key, $value, $user_id = false) { $key = db_escape_string($key); $value = db_escape_string($value);