* 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:07:42 +00:00
parent 3d94b7a0c2
commit 5d41f54594

View File

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