Changeset 468 for trunk/app/models/webquest.php
- Timestamp:
- 05/09/08 00:41:41 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/models/webquest.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/models/webquest.php
r466 r468 45 45 46 46 /* 47 * check if studen already found treasure47 * check if studen already found webquest 48 48 * int treasure_id 49 49 * int user_id … … 54 54 $conditions = array("ResultWebquest.user_id"=>$user_id, "ResultWebquest.webquest_id"=>$webquest_id, "ResultWebquest.vclassroom_id"=>$vclassroom_id); 55 55 $data = $this->ResultWebquest->field('ResultWebquest.id', $conditions); 56 57 if ($data != null):56 57 if ($data == false ): 58 58 return false; 59 59 else:
