set_pref: add default value for

This commit is contained in:
Andrew Dolgov 2010-01-13 18:48:00 +03:00
parent ac9dbf854d
commit 5f798ab1e6

View file

@ -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);