From: Andrew Dolgov Date: Wed, 13 Jan 2010 15:48:00 +0000 (+0300) Subject: set_pref: add default value for X-Git-Tag: 1.4.0~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f798ab1e6a68b65386719e761c0f1d2a5fd311b;p=tt-rss.git set_pref: add default value for --- diff --git a/db-prefs.php b/db-prefs.php index 1c9bbd11..15f03c09 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);