label_create: set default owner_uid

This commit is contained in:
Andrew Dolgov 2013-04-02 15:42:49 +04:00
parent f17cac6b26
commit 9eeb6d5e23

View file

@ -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'];