Skip to content

Commit

Permalink
some major updates to taxonomy
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyLSB committed Mar 14, 2012
1 parent 18d6577 commit 4e94111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extend/sql/library/extensions/taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function modelPrioritizeTag(Model $model, $map = false, $priority = 0, $u

if($up_down) {
$q = e::$sql->query("SELECT * FROM `$tagTable` WHERE `owner` = '$model->id' AND `model` = '".$map->__map('bundlename')."' AND `model-id` = '$map->id'")->row();
if($priority == 1) $priority = ((float) $q['priority']) + 1;
if($priority) $priority = ((float) $q['priority']) + 1;
else $priority = ((float) $q['priority']) - 1;
}

Expand Down

0 comments on commit 4e94111

Please sign in to comment.