Browse Source

ssi_fetchPosts() not respecting override permissions setting

Signed-off-by: ichbin <[email protected]>
ichbin 10 years ago
parent
commit
189a4c6760
1 changed files with 2 additions and 2 deletions
  1. 2 2
      SSI.php

+ 2 - 2
SSI.php

@@ -322,7 +322,7 @@ function ssi_fetchPosts($post_ids = array(), $override_permissions = false, $out
 	);
 
 	// Then make the query and dump the data.
-	return ssi_queryPosts($query_where, $query_where_params, '', 'm.id_msg DESC', $output_method);
+	return ssi_queryPosts($query_where, $query_where_params, '', 'm.id_msg DESC', $output_method, false, $override_permissions);
 }
 
 // This removes code duplication in other queries - don't call it direct unless you really know what you're up to.
@@ -2019,4 +2019,4 @@ function ssi_recentAttachments($num_attachments = 10, $attachment_ext = array(),
 		</table>';
 }
 
-?>
+?>