Changeset 1331
- Timestamp:
- May 31, 2006, 11:44:46 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/feed.php
r1018 r1331 120 120 if ('' == $user['forbidden_categories']) 121 121 { 122 $user['forbidden_categories'] = ' -1';122 $user['forbidden_categories'] = '0'; 123 123 } 124 124 -
trunk/include/functions_user.inc.php
r1284 r1331 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.