Permalink
Browse files

Fix asset_id issue : asset_id in the table couldn't be updated if empty

  • Loading branch information...
1 parent 9c7e0c1 commit 2704a9415a2490007f9c52016658b21bc7837f4a @ilhooq committed Apr 27, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 libraries/joomla/database/table.php
@@ -638,9 +638,6 @@ public function store($updateNulls = false)
$asset = JTable::getInstance('Asset', 'JTable', array('dbo' => $this->getDbo()));
$asset->loadByName($name);
- // Re-inject the asset id.
- $this->asset_id = $asset->id;
-
// Check for an error.
if ($error = $asset->getError())
{

0 comments on commit 2704a94

Please sign in to comment.