mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
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