summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-01 22:34:12 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-01-01 22:34:12 +0000
commit6a0573d1fe8b12f1adacf3924de9808401f8e7b6 (patch)
tree17143ae90ed05facaf54e00825bc190bd20e21aa /templates
parent850edbb1f20ce3cfd8be5f6fe93207ba9a56db3a (diff)
downloadampache-6a0573d1fe8b12f1adacf3924de9808401f8e7b6.tar.gz
ampache-6a0573d1fe8b12f1adacf3924de9808401f8e7b6.tar.bz2
ampache-6a0573d1fe8b12f1adacf3924de9808401f8e7b6.zip
slight tweak to the random album art, needs improvement will look funny on catalogs with no art (for now) editing an mpd instance works, need to fix httpq editing and add instance testing
Diffstat (limited to 'templates')
-rw-r--r--templates/show_localplay_edit_instance.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_localplay_edit_instance.inc.php b/templates/show_localplay_edit_instance.inc.php
index b6060671..49a34d5c 100644
--- a/templates/show_localplay_edit_instance.inc.php
+++ b/templates/show_localplay_edit_instance.inc.php
@@ -26,7 +26,7 @@
<?php foreach ($fields as $key=>$field) { ?>
<tr>
<td><?php echo $field['description']; ?></td>
- <td><input type="textbox" name="<?php echo $key; ?>" value="<?php echo scrub_out($instance->$key); ?>" /></td>
+ <td><input type="textbox" name="<?php echo $key; ?>" value="<?php echo scrub_out($instance[$key]); ?>" /></td>
</tr>
<?php } ?>
</table>