Move the templates required by the core module in the core.
[platal.git] / classes / pltableeditor.php
index d364d0e..b2fd2aa 100644 (file)
@@ -190,7 +190,7 @@ class PLTableEditor
     // call when done
     public function apply(PlPage &$page, $action, $id = false)
     {
-        $page->changeTpl('core/table-editor.tpl');
+        $page->coreTpl('table-editor.tpl');
         $list = true;
         if ($action == 'delete') {
             S::assert_xsrf_token();