@@ -144,7 +144,7 @@ |
||
| 144 | 144 | |
| 145 | 145 | /* default locale |
| 146 | 146 | */ |
| 147 | -$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
| 147 | +$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
| 148 | 148 | |
| 149 | 149 | // include all locale settings |
| 150 | 150 | require_once $rootpath . 'config2/locale.inc.php'; |
@@ -239,10 +239,10 @@ discard block |
||
| 239 | 239 | // muss dieses & ersetzt werden, oder ist es escaped? |
| 240 | 240 | $escapesCount = 0; |
| 241 | 241 | while ((($nextarg - $escapesCount - 1) > 0) && (mb_substr($sql, $nextarg - $escapesCount - 1, 1) == '\\')) { |
| 242 | - $escapesCount ++; |
|
| 242 | + $escapesCount++; |
|
| 243 | 243 | } |
| 244 | 244 | if (($escapesCount % 2) == 1) { |
| 245 | - $nextarg ++; |
|
| 245 | + $nextarg++; |
|
| 246 | 246 | } else { |
| 247 | 247 | $nextchar = mb_substr($sql, $nextarg + 1, 1); |
| 248 | 248 | if (is_numeric($nextchar)) { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | while (mb_ereg_match('^[0-9]{1}', $nextchar) == 1) { |
| 254 | 254 | $arg .= $nextchar; |
| 255 | 255 | |
| 256 | - $arglength ++; |
|
| 256 | + $arglength++; |
|
| 257 | 257 | $nextchar = mb_substr($sql, $nextarg + $arglength + 1, 1); |
| 258 | 258 | } |
| 259 | 259 | |
@@ -285,13 +285,13 @@ discard block |
||
| 285 | 285 | // Anführungszeichen weg machen und NULL einsetzen |
| 286 | 286 | $filtered_sql = mb_substr($filtered_sql, 0, mb_strlen($filtered_sql) - 1); |
| 287 | 287 | $filtered_sql .= 'NULL'; |
| 288 | - $sqlpos ++; |
|
| 288 | + $sqlpos++; |
|
| 289 | 289 | } else { |
| 290 | 290 | $filtered_sql .= 'NULL'; |
| 291 | 291 | } |
| 292 | 292 | } |
| 293 | 293 | |
| 294 | - $sqlpos ++; |
|
| 294 | + $sqlpos++; |
|
| 295 | 295 | } else { |
| 296 | 296 | $arglength = 0; |
| 297 | 297 | $arg = ''; |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | while (mb_ereg_match('^[a-zA-Z0-9]{1}', $nextchar) == 1) { |
| 301 | 301 | $arg .= $nextchar; |
| 302 | 302 | |
| 303 | - $arglength ++; |
|
| 303 | + $arglength++; |
|
| 304 | 304 | $nextchar = mb_substr($sql, $nextarg + $arglength + 1, 1); |
| 305 | 305 | } |
| 306 | 306 | |
@@ -329,12 +329,12 @@ discard block |
||
| 329 | 329 | $escapesCount = 0; |
| 330 | 330 | while ((($nextarg - $escapesCount - 1) > 0) && |
| 331 | 331 | (mb_substr($filtered_sql, $nextarg - $escapesCount - 1, 1) == '\\')) { |
| 332 | - $escapesCount ++; |
|
| 332 | + $escapesCount++; |
|
| 333 | 333 | } |
| 334 | 334 | if (($escapesCount % 2) == 0) { |
| 335 | 335 | // \& ersetzen durch & |
| 336 | 336 | $filtered_sql = mb_substr($filtered_sql, 0, $nextarg) . '&' . mb_substr($filtered_sql, $nextarg + 2); |
| 337 | - $nextarg --; |
|
| 337 | + $nextarg--; |
|
| 338 | 338 | } |
| 339 | 339 | |
| 340 | 340 | $nextarg = mb_strpos($filtered_sql, '\&', $nextarg + 2); |