Sources/Attachments.php 1 location
|
@@ 366-367 (lines=2) @@
|
| 363 |
|
if (!is_array($error)) |
| 364 |
|
{ |
| 365 |
|
$attachmentOptions['errors'][] = $txt[$error]; |
| 366 |
|
if (in_array($error, $log_these)) |
| 367 |
|
log_error($attachment['name'] . ': ' . $txt[$error], 'critical'); |
| 368 |
|
} |
| 369 |
|
else |
| 370 |
|
$attachmentOptions['errors'][] = vsprintf($txt[$error[0]], $error[1]); |
Sources/Post.php 1 location
|
@@ 1980-1981 (lines=2) @@
|
| 1977 |
|
if (!is_array($error)) |
| 1978 |
|
{ |
| 1979 |
|
$attach_errors[] = '<dd>' . $txt[$error] . '</dd>'; |
| 1980 |
|
if (in_array($error, $log_these)) |
| 1981 |
|
log_error($attachment['name'] . ': ' . $txt[$error], 'critical'); |
| 1982 |
|
} |
| 1983 |
|
else |
| 1984 |
|
$attach_errors[] = '<dd>' . vsprintf($txt[$error[0]], $error[1]) . '</dd>'; |