Permalink
Browse files

squash!

  • Loading branch information...
1 parent 8ca36ec commit 6747c62e8d6b0dbc2bbed6549eafaf4450b3b4cd @elinw committed Dec 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/database/tablenested.php
@@ -974,7 +974,7 @@ public function publish($pks = null, $state = 1, $userId = 0)
// Update and cascade the publishing state.
$query = $this->_db->getQuery(true)->update($this->_db->quoteName($this->_tbl))->set('published = ' . (int) $state)
- ->where('(lft > ' . (int) $node->lft . ' AND rgt < ' . (int) $this->rgt . ')' . ' OR ' . $k . ' = ' . (int) $pk);
+ ->where('(lft > ' . (int) $node->lft . ' AND rgt < ' . (int) $node->rgt . ')' . ' OR ' . $k . ' = ' . (int) $pk);
$this->_db->setQuery($query);
// Check for a database error.

0 comments on commit 6747c62

Please sign in to comment.