- Timestamp:
- May 31, 2006, 11:46:26 PM (18 years ago)
- Location:
- branches/branch-1_6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_6/feed.php
r1018 r1332 120 120 if ('' == $user['forbidden_categories']) 121 121 { 122 $user['forbidden_categories'] = ' -1';122 $user['forbidden_categories'] = '0'; 123 123 } 124 124 -
branches/branch-1_6/include/functions_user.inc.php
r1282 r1332 346 346 347 347 if ( empty($forbidden_array) ) 348 {// at least, the list contains -1 values. This category does not exists so349 // where clauses such as "WHERE category_id NOT IN( -1)" will always be348 {// at least, the list contains 0 value. This category does not exists so 349 // where clauses such as "WHERE category_id NOT IN(0)" will always be 350 350 // true. 351 array_push($forbidden_array, '-1');351 array_push($forbidden_array, 0); 352 352 } 353 353
Note: See TracChangeset
for help on using the changeset viewer.