Skip to content

Commit

Permalink
Fix JTable publish method error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuan Pham Ngoc committed May 7, 2015
1 parent fee00c8 commit 8c503e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/table/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ public function publish($pks = null, $state = 1, $userId = 0)
{
if ($this->$key)
{
$pk[$this->$key] = $this->$key;
$pk[$key] = $this->$key;
}
// We don't have a full primary key - return false
else
Expand Down

0 comments on commit 8c503e7

Please sign in to comment.