Commit 9747dbdd authored by Bate's avatar Bate

Typo

parent e46f43a5
...@@ -375,7 +375,7 @@ class planning2 extends stdentity ...@@ -375,7 +375,7 @@ class planning2 extends stdentity
function add_user_to_gap( $gap_id, $user_id, $start, $end) function add_user_to_gap( $gap_id, $user_id, $start, $end)
{ {
$gap_id = intval($gap_id); $gap_id = intval($gap_id);
$user_id = $intval($user_id); $user_id = intval($user_id);
$start = mysql_real_escape_string($start); $start = mysql_real_escape_string($start);
$end = mysql_real_escape_string($end); $end = mysql_real_escape_string($end);
if(!$this->is_user_addable($gap_id,$user_id,$start,$end)) if(!$this->is_user_addable($gap_id,$user_id,$start,$end))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment