Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-3912 now.

sql query in style.php (fix completed in vcs)

In style.php file instead of using constants $table_prefix variable is used.
line #70
Code: Select all
$sql "SELECT s.session_id, u.user_lang
    FROM {$table_prefix}sessions s, {$table_prefix}users u
    WHERE s.session_id = '" 
$db->sql_escape($sid) . "'
        AND s.session_user_id = u.user_id"
;
and line #80
Code: Select all
$sql "SELECT s.style_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, i.*, t.template_path
    FROM {$table_prefix}styles s, {$table_prefix}styles_template t, {$table_prefix}styles_theme c, {$table_prefix}styles_imageset i
    WHERE s.style_id = $id
        AND t.template_id = s.template_id
        AND c.theme_id = s.theme_id
        AND i.imageset_id = s.imageset_id"
;

Comments / History

Assigned ticket to user "Acyd Burn"

Action performed by Acyd Burn (Server Manager) on Apr 20th 2007, 16:55

Changed ticket status from "New" to "Fix in progress"

Action performed by Acyd Burn (Server Manager) on Apr 20th 2007, 16:55

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by Acyd Burn (Server Manager) on Apr 22nd 2007, 15:45

Ticket details