Fix bug with extra escaping of button code (related to Issue #11)

This commit is contained in:
Fedor A. Fetisov 2013-10-21 01:09:40 +04:00
parent d21482ae8a
commit 12f4cebe31

View File

@ -50,9 +50,9 @@ if (!$lang || !in_array($lang, $image_locales))
$file = "../locales/${lang}/button/${image}_on.gif";
$size = get_gifimage_size($file);
$imagehref = get_app_location($showhost, $forcesecure) . "/b.php?i=$image&lang=$lang";
$imagehref = get_app_location($showhost, $forcesecure) . "/b.php?i=$image&lang=$lang";
if ($groupid) {
$imagehref .= "&group=$groupid";
$imagehref .= "&group=$groupid";
}
$message = get_image($imagehref, $size[0], $size[1]);