forked from extern/egroupware
Use pre-existing function to handle deleted flag
This commit is contained in:
parent
5bea81f18f
commit
a2eab86ef8
@ -800,10 +800,8 @@ class calendar_bo
|
||||
}
|
||||
}
|
||||
|
||||
// Check for deleted flag
|
||||
if(!is_numeric($event['deleted']) && $event['deleted'] == 'f') {
|
||||
$event['deleted'] = false;
|
||||
}
|
||||
// Fix deleted flag
|
||||
$event['deleted'] = egw_db::from_bool($event['deleted']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user