Skip to content

Commit

Permalink
refs #1362
Browse files Browse the repository at this point in the history
  * 쿼리 캐시를 날릴 때 문제가 되는 문법 수정
  * 모든 쿼리를 unified하는 과정에서 문제가 생겼었습니다.
  • Loading branch information
inureyes committed Dec 10, 2009
1 parent 5f72b11 commit 20c0977
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion framework/legacy/Needlworks.Cache.PageCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ public static function getInstance() {
public function reset($query = null, $prefix = null) {
$this->query = $this->queryHash = $this->contents = $this->error = $this->prefix = $this->namespace = null;
$this->query = $query;
$this->prefix = (!is_null($prefix) ? $prefix : "")."-";
if(!is_null($prefix)) {
$this->prefix = $prefix."-";
$this->namespace = $this->prefix;
}

}

public function create() {
Expand Down

0 comments on commit 20c0977

Please # to comment.