summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKarl Vollmer <karl.vollmer@dal.ca>2011-11-23 10:49:19 -0400
committerKarl Vollmer <karl.vollmer@dal.ca>2011-11-23 10:49:19 -0400
commit3c758880816f59429d78c6cb4745c3ff0f8c4625 (patch)
tree039e5e4e449b6eae685c4f44e016849be82f1f4d /admin
parentd7c65985289d61ba1ef87d55f8df5485b73e5a48 (diff)
downloadampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.tar.gz
ampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.tar.bz2
ampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.zip
Inverted, remote not local
Diffstat (limited to 'admin')
-rw-r--r--admin/catalog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index df9166b8..c97451a0 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -213,7 +213,7 @@ switch ($_REQUEST['action']) {
if (substr($_POST['path'],0,7) != 'http://' && $_POST['type'] == 'remote') {
Error::add('general',_('Error: Remote selected, but path is not a URL'));
}
- if ($POST['type'] == 'local' AND (!strlen($POST['remote_username']) OR !strlen($POST['remote_password']))) {
+ if ($POST['type'] == 'remote' AND (!strlen($POST['remote_username']) OR !strlen($POST['remote_password']))) {
Error::add('general',_('Error: Username and Password Required for Remote Catalogs'));
}