mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
my round of bug fixes
git-svn-id: file:///svn/phpbb/trunk@7749 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -367,7 +367,7 @@ class bbcode_firstpass extends bbcode
|
||||
* Parse code text from code tag
|
||||
* @private
|
||||
*/
|
||||
function bbcode_parse_code($stx, $code)
|
||||
function bbcode_parse_code($stx, &$code)
|
||||
{
|
||||
switch (strtolower($stx))
|
||||
{
|
||||
@@ -1041,7 +1041,7 @@ class parse_message extends bbcode_firstpass
|
||||
|
||||
if ((!$msg_len && $mode !== 'sig') || $config['max_' . $mode . '_chars'] && $msg_len > $config['max_' . $mode . '_chars'])
|
||||
{
|
||||
$this->warn_msg[] = (!$msg_len) ? $user->lang['TOO_FEW_CHARS'] : $user->lang['TOO_MANY_CHARS'];
|
||||
$this->warn_msg[] = (!$msg_len) ? $user->lang['TOO_FEW_CHARS'] : sprintf($user->lang['TOO_MANY_CHARS_' . strtoupper($mode)], $msg_len, $config['max_' . $mode . '_chars']);
|
||||
return $this->warn_msg;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user