Browse Source

[svn r14292] avoid problems with an obsolete option : approval_direct_post

Eric Marguin 17 years ago
parent
commit
97c139367a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/forum/forumfunction.inc.php

+ 1 - 0
main/forum/forumfunction.inc.php

@@ -1481,6 +1481,7 @@ function get_forum_information($forum_id)
 			AND forums.forum_id='".mysql_real_escape_string($forum_id)."'";
 	$result=api_sql_query($sql);
 	$row=mysql_fetch_array($result);
+	$row['approval_direct_post'] = 0; // we can't anymore change this option, so it should always be activated
 	return $row;
 }