aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user_list.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-09-12 03:52:16 +0000
committerrvelices <rv-github@modusoptimus.com>2007-09-12 03:52:16 +0000
commit0a8cfa318a853943bc315d17c36cc4d7d6680f8b (patch)
treec0d1aefe7c9627bb26b9ab31478f9a1a9742de77 /admin/user_list.php
parent160fdcf517c4ac3fad9d9c914abeaaa65e791428 (diff)
urls used in http redirections must not be html escaped (eg. should use & instead of &amp;)
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2088 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/user_list.php')
-rw-r--r--admin/user_list.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/admin/user_list.php b/admin/user_list.php
index 1c7a752d4..6bd8c4046 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -256,7 +256,7 @@ if (isset($_POST['delete']) and count($collection) > 0)
{
array_push($page['errors'], l10n('Guest cannot be deleted'));
}
- if (($conf['guest_id'] != $conf['default_user_id']) and
+ if (($conf['guest_id'] != $conf['default_user_id']) and
in_array($conf['default_user_id'], $collection))
{
array_push($page['errors'], l10n('Default user cannot be deleted'));
@@ -353,7 +353,7 @@ DELETE FROM '.USER_GROUP_TABLE.'
'recent_period', 'maxwidth', 'expand', 'show_nb_comments',
'show_nb_hits', 'maxheight', 'status', 'enabled_high');
- $true_false_fields = array('expand', 'show_nb_comments',
+ $true_false_fields = array('expand', 'show_nb_comments',
'show_nb_hits', 'enabled_high');
if ($conf['allow_adviser'])
{
@@ -438,11 +438,7 @@ DELETE FROM '.USER_GROUP_TABLE.'
redirect(
PHPWG_ROOT_PATH.
'admin.php'.
- get_query_string_diff(
- array(
- 'start'
- )
- )
+ get_query_string_diff(array(), false)
);
}
@@ -836,7 +832,7 @@ foreach ($visible_user_list as $num => $local_user)
? '<BR />['.l10n('adviser').']' : ''),
'EMAIL' => get_email_address_as_display_text($local_user['email']),
'GROUPS' => $groups_string,
- 'PROPERTIES' =>
+ 'PROPERTIES' =>
(isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true'))
? $lang['is_high_enabled'] : $lang['is_high_disabled']
)