Skip to content

Commit

Permalink
Fixed issue where only 'list' was being removed from titles of edit v…
Browse files Browse the repository at this point in the history
…iews, instead of '_list'
  • Loading branch information
jlleblanc committed May 7, 2010
1 parent b2239e2 commit 341991a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets/Joomla15/helpers/view.inc
Expand Up @@ -122,7 +122,7 @@ class Joomla15View
$friendly_table_name = preg_replace('/ List$/', '', $this->view->name);
$tmplSnip->assign('primary_key', $this->tables[$friendly_table_name]->fields->key);
$tmplSnip->assign('controller', $this->getDefaultController());
$tmplSnip->assign('editviewname', preg_replace('/list$/', '', $this->viewDir));
$tmplSnip->assign('editviewname', preg_replace('/_list$/', '', $this->viewDir));

return $tmplSnip;
}
Expand Down

0 comments on commit 341991a

Please sign in to comment.