We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 31c9b5c4 authored by Mike Sheldon's avatar Mike Sheldon

Create empty array for cases where user has no tags for this track yet

parent dc1c777a
......@@ -180,6 +180,7 @@ class Track {
. ' AND track = ' . $adodb->qstr($this->name)
. ' AND userid = ' . $userid);
$tags = array();
foreach($res as &$row) {
$tags[] = $row['tag'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment