mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix bug with extra escaping of button code (related to Issue #11)
This commit is contained in:
parent
d21482ae8a
commit
12f4cebe31
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user