1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-08 08:35:31 +02:00

re-enable posting. ;)

git-svn-id: file:///svn/phpbb/trunk@4006 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-05-11 16:38:43 +00:00
parent 4d1def879a
commit 6b7f90de27

View File

@ -594,7 +594,7 @@ function upload_attachment($filename)
}
// Check Image Size, if it is an image
if (!$acl->gets('m_', 'a_') && $cat_id == IMAGE_CAT)
if (!$auth->acl_gets('m_', 'a_') && $cat_id == IMAGE_CAT)
{
list($width, $height) = getimagesize($file);
@ -1229,6 +1229,8 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
}
$db->sql_freeresult($result);
if ($ids != '')
{
$sql = "SELECT a.user_id
FROM " . ACL_OPTIONS_TABLE . " ao, " . ACL_USERS_TABLE . " a
WHERE a.user_id IN (" . $ids . ")
@ -1265,6 +1267,7 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
$db->sql_freeresult($result);
$allowed_users = array_unique($allowed_users);
}
//
if ($topic_notification)