Skip to content

Commit

Permalink
use get over getXXX
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Apr 21, 2017
1 parent 0830611 commit 355e210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion administrator/templates/isis/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
$view = $input->get('view', '');
$layout = $input->get('layout', '');
$task = $input->get('task', '');
$itemid = $input->getInt('Itemid', 0);
$itemid = $input->get('Itemid', 0, 'int');
$sitename = $app->get('sitename');

$cpanel = ($option === 'com_cpanel');
Expand Down
2 changes: 1 addition & 1 deletion administrator/templates/isis/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
$view = $input->get('view', '');
$layout = $input->get('layout', '');
$task = $input->get('task', '');
$itemid = $input->getInt('Itemid', 0);
$itemid = $input->get('Itemid', 0, 'int');
$sitename = htmlspecialchars($app->get('sitename', ''), ENT_QUOTES, 'UTF-8');
$cpanel = ($option === 'com_cpanel');

Expand Down

0 comments on commit 355e210

Please sign in to comment.