Skip to content

Commit 2fe0258

Browse files
committed
Clean code
1 parent 7d01a15 commit 2fe0258

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

htdocs/submiteverywhere/admin/submiteverywheresetuppage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
//'sms'=>array('label'=>$langs->trans("Email"),'titlelength'=>10,'descshortlength'=>140,'desclonglength'=>-1),
6565
);
6666

67-
$action=GETPOST('action', 'aZ09');
68-
$id=GETPOST('id', 'int');
67+
$action = GETPOST('action', 'aZ09');
68+
$id = GETPOSTINT('id');
6969

7070
$sortfield = GETPOST("sortfield", 'alpha');
7171
$sortorder = GETPOST("sortorder", 'alpha');
@@ -77,7 +77,7 @@
7777
if (! $sortfield) $sortfield="label";
7878
if (! $sortorder) $sortorder="ASC";
7979

80-
$limit = GETPOST('limit')?GETPOST('limit', 'int'):$conf->liste_limit;
80+
$limit = GETPOST('limit') ? GETPOST('limit', 'int') : $conf->liste_limit;
8181

8282

8383

0 commit comments

Comments
 (0)