@@ -248,10 +248,12 @@ |
||
248 | 248 | |
249 | 249 | $_gets['strings'] = $_REQUEST['strings']; |
250 | 250 | |
251 | - if ($save_history && is_object($rs) && ($type == 'QUERY')) //{ |
|
251 | + if ($save_history && is_object($rs) && ($type == 'QUERY')) { |
|
252 | + //{ |
|
252 | 253 | { |
253 | 254 | $misc->saveScriptHistory($_REQUEST['query']); |
254 | 255 | } |
256 | + } |
|
255 | 257 | |
256 | 258 | if (isset($_REQUEST['query'])) { |
257 | 259 | $query = $_REQUEST['query']; |
@@ -170,9 +170,11 @@ |
||
170 | 170 | public static function printCombo(&$arrOptions, $szName, $bBlankEntry = true, $szDefault = '', $bMultiple = false, $iSize = 10) |
171 | 171 | { |
172 | 172 | $htmlOut = ''; |
173 | - if ($bMultiple) // If multiple select combo |
|
173 | + if ($bMultiple) { |
|
174 | + // If multiple select combo |
|
174 | 175 | { |
175 | 176 | $htmlOut .= "<select rel=\"printCombo\" name=\"$szName\" id=\"$szName\" multiple=\"multiple\" size=\"$iSize\">" . "\n"; |
177 | + } |
|
176 | 178 | } else { |
177 | 179 | $htmlOut .= "<select rel=\"printCombo\" class=\"select2\" name=\"$szName\" id=\"$szName\">" . "\n"; |
178 | 180 | } |