* Admin: fix for reported error regarding wrong count of lines in Admin -> view error log (note, not all errors are logged there, only some. Its only used for some error logging, most of error logging is done/directed to the webservers error log)

This commit is contained in:
Klaus Leithoff 2011-04-13 10:09:23 +00:00
parent 0ca365f659
commit 79947c1871

View File

@ -29,10 +29,7 @@
}
else
{
#$html .= '<form method="post" action="'
# . $GLOBALS['egw']->link('/index.php')
# . '">' . "\n";
$bo =& CreateObject('admin.bolog',True);
//$bo =& CreateObject('admin.bolog',True);
if(!isset($start))
{
$start = 0;
@ -44,7 +41,7 @@
$stop = count($rows);
}
$nextmatchs =& CreateObject('phpgwapi.nextmatchs');
$total_records = $bo->get_no_errors();
$total_records = count($rows);//$bo->get_no_errors();
$left = $nextmatchs->left('/index.php',$start,$total_records,'menuaction=admin.uilog.list_log');
$right = $nextmatchs->right('/index.php',$start,$total_records,'menuaction=admin.uilog.list_log');
$hits = $nextmatchs->show_hits($total_records,$start);