Index: branches/RC/core/units/admin/admin_tag_processor.php =================================================================== diff -u -N -r9774 -r9932 --- branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 9774) +++ branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 9932) @@ -654,8 +654,6 @@ */ function SetPopupSize($params) { - if (!$this->UsePopups($params)) return ; - $width = $params['width']; $height = $params['height']; @@ -664,6 +662,10 @@ die($width.'x'.$height); } + if (!$this->UsePopups($params)) { + return ; + } + $t = $this->Application->GetVar('t'); $sql = 'SELECT * FROM '.TABLE_PREFIX.'PopupSizes