summaryrefslogtreecommitdiffstats
path: root/templates/show_add_catalog.inc.php
diff options
context:
space:
mode:
authorKarl Vollmer <karl.vollmer@dal.ca>2011-11-23 10:45:43 -0400
committerKarl Vollmer <karl.vollmer@dal.ca>2011-11-23 10:45:43 -0400
commitd7c65985289d61ba1ef87d55f8df5485b73e5a48 (patch)
treeb784db229e01ed9acb0d4688190d163b7c642c74 /templates/show_add_catalog.inc.php
parent806b0c0b85f99a27cc169e9f99f88b6911687f4a (diff)
downloadampache-d7c65985289d61ba1ef87d55f8df5485b73e5a48.tar.gz
ampache-d7c65985289d61ba1ef87d55f8df5485b73e5a48.tar.bz2
ampache-d7c65985289d61ba1ef87d55f8df5485b73e5a48.zip
Fix DB updates so catalog remote_username and remote_password are added correctly, also fix catalog creation so they are stored in the database
Diffstat (limited to 'templates/show_add_catalog.inc.php')
-rw-r--r--templates/show_add_catalog.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_add_catalog.inc.php b/templates/show_add_catalog.inc.php
index 6d4a9aad..2b352d4b 100644
--- a/templates/show_add_catalog.inc.php
+++ b/templates/show_add_catalog.inc.php
@@ -64,7 +64,7 @@ $default_sort = "%a/%A";
</tr>
<tr>
<td><?php echo _('Remote Catalog Username'); ?>: </td>
- <td><input size="30" type="text" name="remote_username" value="" /><span class="error">*<?php echo _('Required for Remote Catalogs'); ?></span></td>
+ <td><input size="30" type="text" name="remote_username" value="<?php echo scrub_out($_POST['remote_username']); ?>" /><span class="error">*<?php echo _('Required for Remote Catalogs'); ?></span></td>
</tr>
<tr>
<td><?php echo _('Remote Catalog Password'); ?>: </td>