diff options
author | patdenice <patdenice@piwigo.org> | 2010-12-14 13:47:24 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-12-14 13:47:24 +0000 |
commit | 731f8888a45d4b48e94bff05187e0e2ca40d4ef5 (patch) | |
tree | 1fc44a3a59beafe636b74127498d0ed62decdc76 /picture.php | |
parent | bf1aa6fcf1f6d9038a0723e4f0213e416ec5ee62 (diff) |
feature 2060: Remove adviser mode.
First commit: only php files.
git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | picture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php index 052ae4923..ace364f31 100644 --- a/picture.php +++ b/picture.php @@ -276,7 +276,7 @@ DELETE FROM '.FAVORITES_TABLE.' } case 'set_as_representative' : { - if (is_admin() and !is_adviser() and isset($page['category'])) + if (is_admin() and isset($page['category'])) { $query = ' UPDATE '.CATEGORIES_TABLE.' |