1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Fixes #1621 : Emoticons fix for codes using | char.

This commit is contained in:
Cameron
2016-05-06 08:16:45 -07:00
parent a8f658283f
commit 72891ca226
2 changed files with 21 additions and 4 deletions

View File

@@ -664,8 +664,15 @@ class emotec
{
foreach ($pack_local as $p => $d)
{
$mes->addInfo(EMOLAN_34.":".$p.EMOLAN_35);
$sql->db_Delete("core","`e107_name` = 'emote_{$p}'");
if($p == '0')
{
$p = '';
}
if($sql->delete("core","`e107_name` = 'emote_{$p}'"))
{
$mes->addInfo(EMOLAN_34.":".$p.EMOLAN_35);
}
}
}