From: Andrew Dolgov Date: Tue, 2 Apr 2013 11:42:49 +0000 (+0400) Subject: label_create: set default owner_uid X-Git-Tag: 1.7.6~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9eeb6d5e233006a35545917c9c9da95cbc53508a;p=tt-rss.git label_create: set default owner_uid --- diff --git a/include/labels.php b/include/labels.php index 5ac8794d..655b5155 100644 --- a/include/labels.php +++ b/include/labels.php @@ -173,7 +173,7 @@ db_query($link, "COMMIT"); } - function label_create($link, $caption, $fg_color = '', $bg_color = '', $owner_uid) { + function label_create($link, $caption, $fg_color = '', $bg_color = '', $owner_uid = false) { if (!$owner_uid) $owner_uid = $_SESSION['uid'];