mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 07:21:30 +02:00
- now username changes should work as desired
- removed some extract() calls git-svn-id: file:///svn/phpbb/trunk@6517 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1353,16 +1353,19 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||
if ($imageset_id)
|
||||
{
|
||||
$sql_select = ($imgname) ? ", $imgname" : '';
|
||||
|
||||
$sql = "SELECT imageset_path, imageset_name, imageset_copyright$sql_select
|
||||
FROM " . STYLES_IMAGESET_TABLE . "
|
||||
WHERE imageset_id = $imageset_id";
|
||||
$result = $db->sql_query($sql);
|
||||
$imageset_row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if (!extract($db->sql_fetchrow($result)))
|
||||
if (!$imageset_row)
|
||||
{
|
||||
trigger_error($user->lang['NO_IMAGESET'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
extract($imageset_row);
|
||||
|
||||
// Check to see whether the selected image exists in the table
|
||||
$valid_name = ($update) ? false : true;
|
||||
|
Reference in New Issue
Block a user