diff options
Diffstat (limited to 'admin/site_manager.php')
-rw-r--r-- | admin/site_manager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/site_manager.php b/admin/site_manager.php index c13b9857c..aa0ad5f31 100644 --- a/admin/site_manager.php +++ b/admin/site_manager.php @@ -82,7 +82,8 @@ $template->set_filenames(array('site_manager'=>'admin/site_manager.tpl')); // +-----------------------------------------------------------------------+ // | new site creation form | // +-----------------------------------------------------------------------+ -if (isset($_POST['submit'])) +if (isset($_POST['submit']) and !empty($_POST['galleries_url']) + and !is_adviser() ) { $is_remote = url_is_remote( $_POST['galleries_url'] ); $url = preg_replace('/[\/]*$/', '', $_POST['galleries_url']); |