- Timestamp:
- 11/27/06 08:26:10 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/Content/ContentGroup/ContentGroup.php
r1128 r1143 570 570 $allow_repeat = $this->getAllowRepeat(); 571 571 if ($allow_repeat == 'NO') { 572 $sql_repeat .= "AND content_group_element_id NOT IN (SELECT content_id FROM content_display_log WHERE user_id = '$user_id') \n";572 $sql_repeat = "AND content_group_element_id NOT IN (SELECT content_id FROM content_display_log WHERE user_id = '$user_id') \n"; 573 573 } 574 574 elseif ($allow_repeat == 'ONCE_PER_NODE') { 575 $sql_repeat .= "AND content_group_element_id NOT IN (SELECT content_id FROM content_display_log WHERE user_id = '$user_id' AND node_id = '$node_id') \n";575 $sql_repeat = "AND content_group_element_id NOT IN (SELECT content_id FROM content_display_log WHERE user_id = '$user_id' AND node_id = '$node_id') \n"; 576 576 } else { 577 577 $sql_repeat = null;
