Skip to content

Commit

Permalink
Merge pull request #64 from eprochasson/patch-1
Browse files Browse the repository at this point in the history
Update core/components/babel/model/babel/babel.class.php
  • Loading branch information
mikrobi committed Oct 18, 2012
2 parents b79b596 + 7cafc93 commit c9b9dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/babel/model/babel/babel.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public function initBabelTv($resource) {
* @param int $resourceId id of resource (int).
*/
public function initBabelTvById($resourceId) {
$resource = $this->modx->getObject('modResource', $resource);
$resource = $this->modx->getObject('modResource', $resourceId);
return $this->initBabelTv($resource);
}

Expand Down

0 comments on commit c9b9dcf

Please sign in to comment.