mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
* 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:
parent
3d94b7a0c2
commit
5d41f54594
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user