whitespace corrections and ensure that options[width] and options[height] are defined
This commit is contained in:
parent
eba6cec7a1
commit
70246ce55a
|
@ -94,8 +94,12 @@ if ( isset($_COOKIE['zmMontageLayout']) )
|
|||
$options = array();
|
||||
if ( isset($_COOKIE['zmMontageWidth']) and $_COOKIE['zmMontageWidth'] )
|
||||
$options['width'] = $_COOKIE['zmMontageWidth'];
|
||||
else
|
||||
$options['width'] = '';
|
||||
if ( isset($_COOKIE['zmMontageHeight']) and $_COOKIE['zmMontageHeight'] )
|
||||
$options['height'] = $_COOKIE['zmMontageHeight'];
|
||||
else
|
||||
$options['height'] = '';
|
||||
if ( $scale )
|
||||
$options['scale'] = $scale;
|
||||
|
||||
|
|
Loading…
Reference in New Issue