mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 04:42:14 +09:00
join query사용시에 value에 . 이 있을 경우 query fail이 나는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2934 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cc74a3f5ec
commit
637e953a34
8 changed files with 13 additions and 20 deletions
|
|
@ -194,16 +194,7 @@
|
|||
else $args->s_is_secret = '';
|
||||
break;
|
||||
case 'tag' :
|
||||
$oDB = &DB::getInstance();
|
||||
$tmp_str_arr = explode(' ',$search_keyword);
|
||||
$tmp_count = count($tmp_str_arr);
|
||||
$tag_arr = array();
|
||||
for($i=0;$i<$tmp_count;$i++) {
|
||||
$tmp_str = trim($tmp_str_arr[$i]);
|
||||
if(!$tmp_str) continue;
|
||||
$tag_arr[] = $oDB->addQuotes($tmp_str);
|
||||
}
|
||||
$args->s_tags = "'".implode("','",$tag_arr);
|
||||
$args->s_tags = str_replace(' ','%',$search_keyword);
|
||||
$query_id = 'document.getDocumentListWithinTag';
|
||||
break;
|
||||
case 'readed_count' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue