forked from extern/egroupware
fix PHP Fatal error: Call to undefined method EGroupware\Api\Session::appsession()
This commit is contained in:
parent
19501960e1
commit
be0d2ca297
@ -513,7 +513,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//echo "<p align=right>show_sums=".print_r($this->show_sums,true)."</p>\n";
|
//echo "<p align=right>show_sums=".print_r($this->show_sums,true)."</p>\n";
|
||||||
if (!$id_only && !$query_in['csv_export']) $GLOBALS['egw']->session->appsession('index',TIMESHEET_APP,$query_in);
|
if (!$id_only && !$query_in['csv_export']) Api\Cache::setSession(TIMESHEET_APP, 'index', $query_in);
|
||||||
|
|
||||||
// Refresh actions (undelete needs this)
|
// Refresh actions (undelete needs this)
|
||||||
$query_in['actions'] = $this->get_actions($query_in);
|
$query_in['actions'] = $this->get_actions($query_in);
|
||||||
@ -866,7 +866,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
$content = array(
|
$content = array(
|
||||||
'nm' => $GLOBALS['egw']->session->appsession('index',TIMESHEET_APP),
|
'nm' => Api\Cache::getSession(TIMESHEET_APP, 'index'),
|
||||||
'msg' => $msg,
|
'msg' => $msg,
|
||||||
);
|
);
|
||||||
if (!is_array($content['nm']))
|
if (!is_array($content['nm']))
|
||||||
|
Loading…
Reference in New Issue
Block a user