mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Review sprintf
remove more sprintf calls
This commit is contained in:
parent
f7e9b74dca
commit
208a149a7b
32 changed files with 205 additions and 188 deletions
|
@ -109,7 +109,7 @@ function wall_attach_post(App $a) {
|
|||
}
|
||||
|
||||
if(($maxfilesize) && ($filesize > $maxfilesize)) {
|
||||
$msg = sprintf(L10n::t('File exceeds size limit of %s'), formatBytes($maxfilesize));
|
||||
$msg = L10n::t('File exceeds size limit of %s', formatBytes($maxfilesize));
|
||||
if ($r_json) {
|
||||
echo json_encode(['error'=>$msg]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue