fix shift creation

main
Philip Häusler 10 years ago
parent 6bede2fd22
commit a470a5f5d3

@ -140,7 +140,7 @@ function Shift_create($shift) {
`end`='" . sql_escape($shift['end']) . "', `end`='" . sql_escape($shift['end']) . "',
`RID`='" . sql_escape($shift['RID']) . "', `RID`='" . sql_escape($shift['RID']) . "',
`title`=" . sql_null($shift['title']) . ", `title`=" . sql_null($shift['title']) . ",
`URL`=" . sql_null($shift['URL']) . "', `URL`=" . sql_null($shift['URL']) . ",
`PSID`=" . sql_null($shift['PSID'])); `PSID`=" . sql_null($shift['PSID']));
if ($result === false) if ($result === false)
return false; return false;

Loading…
Cancel
Save