Skip to content
Browse files

Adding the $lang object to discover_install()

  • Loading branch information...
1 parent dad129e commit f6167ea2552a9a98c4974f45ed81ff9700f2dd3e @dongilbert committed Apr 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/joomla/installer/adapters/template.php
View
1 libraries/joomla/installer/adapters/template.php
@@ -505,6 +505,7 @@ public function discover_install()
// Templates are one of the easiest
// If its not in the extensions table we just add it
$client = JApplicationHelper::getClientInfo($this->parent->extension->client_id);
+ $lang = JFactory::getLanguage();
$manifestPath = $client->path . '/templates/' . $this->parent->extension->element . '/templateDetails.xml';
$this->parent->manifest = $this->parent->isManifest($manifestPath);
$description = (string) $this->parent->manifest->description;

0 comments on commit f6167ea

Please sign in to comment.
Something went wrong with that request. Please try again.