#375 이모티콘 에디터 컴포넌트 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3536 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-17 00:45:07 +00:00
parent 879b843808
commit 69a0c59838
11 changed files with 78 additions and 72 deletions

View file

@ -26,7 +26,7 @@
**/
function getEmoticonList() {
$emoticon = Context::get('emoticon');
if(!$emoticon || !preg_replace("/^([a-z0-9\_]+)$/i",$emoticon)) return new Object(-1,'msg_invalid_request');
if(!$emoticon || !preg_match("/^([a-z0-9\_]+)$/i",$emoticon)) return new Object(-1,'msg_invalid_request');
$list = $this->getEmoticons($emoticon);