mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-08 16:45:19 +02:00
re-enable posting. ;)
git-svn-id: file:///svn/phpbb/trunk@4006 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4d1def879a
commit
6b7f90de27
@ -594,7 +594,7 @@ function upload_attachment($filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check Image Size, if it is an image
|
// 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);
|
list($width, $height) = getimagesize($file);
|
||||||
|
|
||||||
@ -1229,6 +1229,8 @@ function user_notification($mode, $subject, $forum_id, $topic_id, $post_id)
|
|||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
if ($ids != '')
|
||||||
|
{
|
||||||
$sql = "SELECT a.user_id
|
$sql = "SELECT a.user_id
|
||||||
FROM " . ACL_OPTIONS_TABLE . " ao, " . ACL_USERS_TABLE . " a
|
FROM " . ACL_OPTIONS_TABLE . " ao, " . ACL_USERS_TABLE . " a
|
||||||
WHERE a.user_id IN (" . $ids . ")
|
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);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$allowed_users = array_unique($allowed_users);
|
$allowed_users = array_unique($allowed_users);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
if ($topic_notification)
|
if ($topic_notification)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user