1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 18:32:44 +02:00

Minor fixes

This commit is contained in:
CaMer0n
2012-04-20 07:21:15 +00:00
parent 6837ea5154
commit e74000fb1c
2 changed files with 4 additions and 1 deletions

View File

@@ -1140,7 +1140,7 @@ class admin_newspost
// $newsposts = $e107->sql->db_Count('news');
if (!vartrue($_GET['srch']))
if ($newsposts > $amount)
{
// $parms = $newsposts.",".$amount.",".$this->getFrom().",".e_SELF."?".$this->getAction().'.'.($this->getSubAction() ? $this->getSubAction() : 0).'.'.$this->_sort_order.".[FROM]";
$parms = $newsposts.",".$amount.",".$this->getFrom().",".e_SELF."?action=".$this->getAction().'&sub='.($this->getSubAction() ? $this->getSubAction() : 0).'&id='.$this->_sort_order.'&filter='.intval($_GET['filter']).'&srch='.$_GET['srch']."&frm=[FROM]";