Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
This commit is contained in:
parent
074493a29e
commit
d836593a3b
42 changed files with 80 additions and 80 deletions
|
@ -40,7 +40,7 @@ function group_text_uninstall() {
|
|||
*/
|
||||
|
||||
function group_text_settings_post($a,$post) {
|
||||
if(! local_user() || (! x($_POST,'group_text-submit')))
|
||||
if(! local_user() || empty($_POST['group_text-submit']))
|
||||
return;
|
||||
PConfig::set(local_user(),'system','groupedit_image_limit',intval($_POST['group_text']));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue