mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
Fix problem when admin send email information about category.
git-svn-id: http://piwigo.org/svn/trunk@1917 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -369,7 +369,8 @@ WHERE
|
||||
$list = array();
|
||||
while ($row = mysql_fetch_array($result))
|
||||
{
|
||||
list($row['template'], $row['theme']) = explode('/', $row['template']);
|
||||
$row['template_theme'] = $row['template'];
|
||||
list($row['template'], $row['theme']) = explode('/', $row['template_theme']);
|
||||
$list[] = $row;
|
||||
}
|
||||
}
|
||||
@@ -387,7 +388,8 @@ FROM
|
||||
WHERE
|
||||
'.$conf['user_fields']['email'].' IS NOT NULL
|
||||
AND group_id = '.$group_id.'
|
||||
AND language = \''.$elem['language'].'\'
|
||||
AND language = \''.$elem['language'].'\'
|
||||
AND template = \''.$elem['template_theme'].'\'
|
||||
;';
|
||||
|
||||
$result = pwg_query($query);
|
||||
|
||||
Reference in New Issue
Block a user