label_create: set default owner_uid
This commit is contained in:
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…
Reference in New Issue