label_create: set default owner_uid

master
Andrew Dolgov 12 years ago
parent f17cac6b26
commit 9eeb6d5e23

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

Loading…
Cancel
Save