Forums / National / Russian / Сборка «Фриланс-биржа» / Проблема с оплатой

Edward
#43409 2018-06-04 05:43

Привет!

сообщал об этой ошибке на гитхабе:

https://github.com/Cotonti/Cotonti/issues/1600

чтобы исправить, замените в в файле system/functions.php функцию cot_build_url на вот эту:

function cot_build_url($text, $maxlen=64)
{
	global $sys;
	if (!empty($text))
	{
		if (mb_strpos($text, $sys['scheme'] . '://') !== 0)
		{
			$text=$sys['scheme'] . '://'. $text;
		}
		$text = htmlspecialchars($text);
		$text = cot_rc_link($text, cot_cutstring($text, $maxlen));
	}
	return $text;
}
Email: ed.gabishev@gmail.com
Telegram: https://t.me/Ed_Gaba