Sources/Attachments.php 1 location
|
@@ 364-365 (lines=2) @@
|
| 361 |
|
if (!is_array($error)) |
| 362 |
|
{ |
| 363 |
|
$attachmentOptions['errors'][] = $txt[$error]; |
| 364 |
|
if (in_array($error, $log_these)) |
| 365 |
|
log_error($attachment['name'] . ': ' . $txt[$error], 'critical'); |
| 366 |
|
} |
| 367 |
|
else |
| 368 |
|
$attachmentOptions['errors'][] = vsprintf($txt[$error[0]], $error[1]); |
Sources/Post.php 1 location
|
@@ 1875-1876 (lines=2) @@
|
| 1872 |
|
if (!is_array($error)) |
| 1873 |
|
{ |
| 1874 |
|
$attach_errors[] = '<dd>' . $txt[$error] . '</dd>'; |
| 1875 |
|
if (in_array($error, $log_these)) |
| 1876 |
|
log_error($attachment['name'] . ': ' . $txt[$error], 'critical'); |
| 1877 |
|
} |
| 1878 |
|
else |
| 1879 |
|
$attach_errors[] = '<dd>' . vsprintf($txt[$error[0]], $error[1]) . '</dd>'; |