Skip to content

Commit

Permalink
Fixed error in tag block where it would always display error on addin…
Browse files Browse the repository at this point in the history
…g new block.
  • Loading branch information
Ryan Tyler committed Jun 3, 2011
1 parent 2bd3b6f commit 8d9d0d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/concrete/blocks/search/controller.php
Expand Up @@ -168,7 +168,7 @@ function do_search() {
foreach($res as $r) {
$results[] = new IndexedSearchResult($r['cID'], $r['cName'], $r['cDescription'], $r['score'], $r['cPath'], $r['content']);
}

$this->set('query', $q);
$this->set('paginator', $ipl->getPagination());
$this->set('results', $results);
Expand Down
3 changes: 2 additions & 1 deletion web/concrete/blocks/tags/controller.php
Expand Up @@ -27,7 +27,8 @@ public function getBlockTypeName() {
}

public function add() {
$this->loadAttribute();
$ak = $this->loadAttribute();
$this->set('ak',$ak);
}

protected function loadAttribute() {
Expand Down

0 comments on commit 8d9d0d0

Please sign in to comment.