projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git]
/
admin
/
company_preferences.php
diff --git
a/admin/company_preferences.php
b/admin/company_preferences.php
index 9a7b772b3ae8b3f2082b8ff9724ebd9ab2b2f3d0..b889aeb96031bbdedc115bdc56463648ce74a897 100644
(file)
--- a/
admin/company_preferences.php
+++ b/
admin/company_preferences.php
@@
-52,9
+52,9
@@
if (isset($_POST['update']) && $_POST['update'] != "")
display_error(_('Only jpg and png files are supported - a file extension of .jpg or .png is expected'));
$input_error = 1;
}
display_error(_('Only jpg and png files are supported - a file extension of .jpg or .png is expected'));
$input_error = 1;
}
- elseif ( $_FILES['pic']['size'] > ($max_image_size * 1024))
+ elseif ( $_FILES['pic']['size'] > ($
SysPrefs->
max_image_size * 1024))
{ //File Size Check
{ //File Size Check
- display_error(_('The file size is over the maximum allowed. The maximum size allowed in KB is') . ' ' . $max_image_size);
+ display_error(_('The file size is over the maximum allowed. The maximum size allowed in KB is') . ' ' . $
SysPrefs->
max_image_size);
$input_error = 1;
}
elseif ( $_FILES['pic']['type'] == "text/plain" )
$input_error = 1;
}
elseif ( $_FILES['pic']['type'] == "text/plain" )