mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
Some fixes and improvements.
#11817 #11851 #11801 #11461 git-svn-id: file:///svn/phpbb/trunk@7692 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -593,7 +593,7 @@ class acp_permissions
|
||||
{
|
||||
global $user, $auth;
|
||||
|
||||
$psubmit = request_var('psubmit', array(0));
|
||||
$psubmit = request_var('psubmit', array(0 => array(0 => 0)));
|
||||
|
||||
// User or group to be set?
|
||||
$ug_type = (sizeof($user_id)) ? 'user' : 'group';
|
||||
|
@@ -2405,4 +2405,11 @@ function relative_base($path, $is_relative = true, $line = false, $file = false)
|
||||
return $convert->options['forum_path'] . '/' . $path;
|
||||
}
|
||||
|
||||
function get_smiley_display()
|
||||
{
|
||||
static $smiley_count = 0;
|
||||
$smiley_count++;
|
||||
return ($smiley_count < 50) ? 1 : 0;
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user