From 731f8888a45d4b48e94bff05187e0e2ca40d4ef5 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 14 Dec 2010 13:47:24 +0000 Subject: feature 2060: Remove adviser mode. First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/tags.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'admin/tags.php') diff --git a/admin/tags.php b/admin/tags.php index 7273921f6..4930b3fd1 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -38,7 +38,7 @@ if (!empty($_POST)) // | edit tags | // +-----------------------------------------------------------------------+ -if (isset($_POST['submit']) and !is_adviser()) +if (isset($_POST['submit'])) { $query = ' SELECT name @@ -104,7 +104,7 @@ SELECT id, name // | delete tags | // +-----------------------------------------------------------------------+ -if (isset($_POST['delete']) and isset($_POST['tags']) and !is_adviser()) +if (isset($_POST['delete']) and isset($_POST['tags'])) { $query = ' SELECT name @@ -141,7 +141,7 @@ DELETE // | add a tag | // +-----------------------------------------------------------------------+ -if (isset($_POST['add']) and !empty($_POST['add_tag']) and !is_adviser()) +if (isset($_POST['add']) and !empty($_POST['add_tag'])) { $tag_name = $_POST['add_tag']; -- cgit v1.2.3