issue 2163, additional commit

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10972 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-08-03 06:56:51 +00:00
parent 9c72597b95
commit a6f9cc5401

View file

@ -757,7 +757,7 @@
if(!preg_match('/\.(jpg|jpeg|gif|png|swf)$/i', $img['name']))
{
Context::set('msg', Context::getLang('not allowed extension'));
Context::set('msg', Context::getLang('msg_layout_image_target'));
return;
}