Bug QuotePlugin::getQuote calls getBbCodeForQuote twice

There is a bug in this version
X

Xon

Guest
PHP:

Code:
		$innerContent = $this->app->stringFormatter()->getBbCodeForQuote($message, $context);
		if (strlen($innerContent))
		{
			$quote = $content->getQuoteWrapper(
				$this->app->stringFormatter()->getBbCodeForQuote($message, $context)
			);
		}

I'm not sure there is much point to calling getBbCodeForQuote twice instead of just using that $innerContent variable.

Also actionMultiQuote() should have some updates;


PHP:

Code:
			if (!$message)
			{
				continue;
			}...

Read more

Continue reading...