Fixed: Old Custom Text what used @WEB have no space after command "@WEBxxx"

--HG--
branch : patches-from-atys
hg/hotfix/patches-from-atys
Riasan 7 years ago
parent 4f33715b06
commit 0b27a27a4c

@ -162,7 +162,7 @@ void CInterfaceItemEdition::CItemEditionWindow::infoReceived()
else
{
ucstring text = itemInfo.CustomText;
if (text.size() > 4 && text[0]=='@' && text[1]=='W' && text[2]=='E' && text[3]=='B' && text[4]==' ')
if (text.size() > 3 && text[0]=='@' && text[1]=='W' && text[2]=='E' && text[3]=='B')
{
CGroupHTML *pGH = dynamic_cast<CGroupHTML*>(CWidgetManager::getInstance()->getElementFromId("ui:interface:web_transactions:content:html"));
if (pGH)

Loading…
Cancel
Save