diff options
author | Karl Vollmer <karl.vollmer@dal.ca> | 2011-11-23 10:49:19 -0400 |
---|---|---|
committer | Karl Vollmer <karl.vollmer@dal.ca> | 2011-11-23 10:49:19 -0400 |
commit | 3c758880816f59429d78c6cb4745c3ff0f8c4625 (patch) | |
tree | 039e5e4e449b6eae685c4f44e016849be82f1f4d /admin/catalog.php | |
parent | d7c65985289d61ba1ef87d55f8df5485b73e5a48 (diff) | |
download | ampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.tar.gz ampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.tar.bz2 ampache-3c758880816f59429d78c6cb4745c3ff0f8c4625.zip |
Inverted, remote not local
Diffstat (limited to 'admin/catalog.php')
-rw-r--r-- | admin/catalog.php | 2 |
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')); } |