From 341991a0d542ad9cf4e8387881d3ea5cc8390bfe Mon Sep 17 00:00:00 2001 From: Joe LeBlanc Date: Fri, 7 May 2010 18:16:08 -0400 Subject: [PATCH] Fixed issue where only 'list' was being removed from titles of edit views, instead of '_list' --- targets/Joomla15/helpers/view.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/Joomla15/helpers/view.inc b/targets/Joomla15/helpers/view.inc index 94c8160..bbf793d 100644 --- a/targets/Joomla15/helpers/view.inc +++ b/targets/Joomla15/helpers/view.inc @@ -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; }