<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - [리더] 카테고리가 나오지 않는 문제]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=247&amp;type=atom"/>
	<updated>2006-04-30T10:42:00Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=247</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: [리더] 카테고리가 나오지 않는 문제]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=1270#p1270"/>
			<content type="html"><![CDATA[<p>원본에도 적용했습니다. 감사합니닷! <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[crizin]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=92</uri>
			</author>
			<updated>2006-04-30T10:42:00Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=1270#p1270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[리더] 카테고리가 나오지 않는 문제]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=1265#p1265"/>
			<content type="html"><![CDATA[<p>새로 설치 후 리더에 들어가보면 카테고리에 전체보기조차 보이지가 않습니다.<br />카테고리를 추가해도 역시나 나타나질 않고요.</p><p>lib/function/mysql.php<br /></p><div class="codebox"><pre><code>function escapeMysqlSearchString($str) {
    return str_replace(&#039;_&#039;, &#039;\_&#039;, str_replace(&#039;%&#039;, &#039;\%&#039;, mysql_escape_string($str)));
}

를 아래로 수정

function escapeMysqlSearchString($str) {
    if(is_null($str)) return $str;
    return str_replace(&#039;_&#039;, &#039;\_&#039;, str_replace(&#039;%&#039;, &#039;\%&#039;, mysql_escape_string($str)));
}</code></pre></div><p>getFeedGroups 함수에서 $searchKeyword!==null 로 비교를 하는데 $searchKeyword 변수가<br />escapeMysqlSearchString 함수에서 무조건 string형으로 변경이 되어 리턴되서 생기는 문제였습니다.<br />실험본에 커밋해두겠습니다. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Peris]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=40</uri>
			</author>
			<updated>2006-04-30T06:33:12Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=1265#p1265</id>
		</entry>
</feed>
