https://www.icyphoenix.com/viewtopic.php?f=33&t=6147&p=58258#p58258
-----------------------------------
Mighty Gorgon
Sat 16 Feb, 2013 11:51

Re: Styles Demo
-----------------------------------
You can try to change into something like this:

FIND
[codeblock]$mode = $_REQUEST['mode'];
$mode = ($mode == 'top_frame') ? 'top_frame' : '';
$style_id = (int) $_REQUEST['s'];
$style_id = intval($style_id) ? $style_id : 1;[/codeblock]

REPLACE
[codeblock]$mode = isset($_REQUEST['mode']) ? $_REQUEST['mode'] : '';
$mode = ($mode == 'top_frame') ? 'top_frame' : '';
$style_id = isset($_REQUEST['s']) ? (int) $_REQUEST['s'] : 1;
$style_id = intval($style_id) ? $style_id : 1;[/codeblock]


