Changeset 119
- Timestamp:
- 11/10/06 10:47:56 (2 years ago)
- Files:
-
- branches/com_mls_events/barcodes/admin.mls_events.php (modified) (3 diffs)
- trunk/com_mls_catering/admin.mls_catering.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/com_mls_events/barcodes/admin.mls_events.php
r116 r119 187 187 case "barcodes": 188 188 switch($task) { 189 case "checkout":190 checkoutUserMLS_events_barcodes( $option, $act );191 break;192 case "checkin":193 checkinUserMLS_events_barcodes( $option, $act );194 break;195 case "checkoutform":196 checkoutFormMLS_events_barcodes( $option, $act );197 break;198 case "checkinform":199 checkinFormMLS_events_barcodes( $option, $act );200 break;201 189 case "enable": 202 190 changeMLS_events_barcodes( $cid, 1, $option, $act ); … … 337 325 ."\n INNER JOIN `#__users` AS `u` ON c.userid=u.id" 338 326 ."\n INNER JOIN `#__mls_events_participants` AS `p` ON p.userid=u.id" 339 ."\n WHERE c.code='$barcode' AND p.eventid='$eventid' " );327 ."\n WHERE c.code='$barcode' AND p.eventid='$eventid' AND c.status='1'" ); 340 328 $database->loadObject( $user ); 341 329 } elseif($search_user) { … … 600 588 } 601 589 602 //mosRedirect( "index2.php?option=$option&act=$act", $l->m("msg_barcode_saved","general") );590 mosRedirect( "index2.php?option=$option&act=$act", $l->m("msg_barcode_saved","general") ); 603 591 } 604 592 trunk/com_mls_catering/admin.mls_catering.php
r118 r119 266 266 ."\n FROM `#__mls_events_barcodes` AS `c`" 267 267 ."\n INNER JOIN `#__users` AS `u` ON c.userid=u.id" 268 ."\n WHERE c.code='$barcode' " );268 ."\n WHERE c.code='$barcode' AND c.status='1'" ); 269 269 $database->loadObject( $user ); 270 270 } elseif($search_user) {