Changeset 2821
- Timestamp:
- 11/18/08 00:48:50 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/htdocs/system/classes/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/system/classes/comments.php
r2742 r2821 77 77 $paramset['status'] = array_diff( $paramset['status'], array( 'any' ) ); 78 78 array_walk( $paramset['status'], create_function( '&$a,$b', '$a = Comment::status( $a );' ) ); 79 $where[] = " typeIN (" . Utils::placeholder_string( count( $paramset['status'] ) ) . ")";79 $where[] = "status IN (" . Utils::placeholder_string( count( $paramset['status'] ) ) . ")"; 80 80 $params = array_merge( $params, $paramset['status'] ); 81 81 }
