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
|
@@ 1946-1947 (lines=2) @@
|
| 1943 |
|
if (!is_array($error)) |
| 1944 |
|
{ |
| 1945 |
|
$attach_errors[] = '<dd>' . $txt[$error] . '</dd>'; |
| 1946 |
|
if (in_array($error, $log_these)) |
| 1947 |
|
log_error($attachment['name'] . ': ' . $txt[$error], 'critical'); |
| 1948 |
|
} |
| 1949 |
|
else |
| 1950 |
|
$attach_errors[] = '<dd>' . vsprintf($txt[$error[0]], $error[1]) . '</dd>'; |