mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Encode ID to avoid problems with special chars
This commit is contained in:
parent
f18c5b8aa1
commit
627fa6fc9c
@ -35,7 +35,7 @@
|
|||||||
foreach($content['scheduled'] as $row)
|
foreach($content['scheduled'] as $row)
|
||||||
{
|
{
|
||||||
if($row['delete']) {
|
if($row['delete']) {
|
||||||
$key = key($row['delete']);
|
$key = urldecode(key($row['delete']));
|
||||||
ExecMethod('phpgwapi.asyncservice.cancel_timer', $key);
|
ExecMethod('phpgwapi.asyncservice.cancel_timer', $key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -67,7 +67,7 @@
|
|||||||
$async['data']['record_count'] = lang('%1 records processed', $async['data']['record_count']);
|
$async['data']['record_count'] = lang('%1 records processed', $async['data']['record_count']);
|
||||||
}
|
}
|
||||||
$data['scheduled'][] = array_merge($async['data'], array(
|
$data['scheduled'][] = array_merge($async['data'], array(
|
||||||
'id' => $id,
|
'id' => urlencode($id),
|
||||||
'next' => egw_time::server2user($async['next']),
|
'next' => egw_time::server2user($async['next']),
|
||||||
'times' => str_replace("\n", '', print_r($async['times'], true)),
|
'times' => str_replace("\n", '', print_r($async['times'], true)),
|
||||||
'last_run' => $async['data']['last_run'] ? egw_time::server2user($async['data']['last_run']) : ''
|
'last_run' => $async['data']['last_run'] ? egw_time::server2user($async['data']['last_run']) : ''
|
||||||
|
Loading…
Reference in New Issue
Block a user