From 651d6dc8c469e687f97237f926810d7420f72662 Mon Sep 17 00:00:00 2001 From: Felipe Figueroa Date: Tue, 5 Jun 2018 10:23:19 -0400 Subject: _getFKProps returns a value instead of null --- src/controllers/AggregatesController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/controllers/AggregatesController.php') diff --git a/src/controllers/AggregatesController.php b/src/controllers/AggregatesController.php index e09ac63c..906ce1a5 100644 --- a/src/controllers/AggregatesController.php +++ b/src/controllers/AggregatesController.php @@ -77,7 +77,7 @@ class AggregatesController extends BaseController $output = ob_get_clean(); - $this->printHeader($this->headerTitle(), null, true, $header_template); + $this->printHeader($this->headerTitle()); $this->printBody(); echo $output; @@ -100,7 +100,7 @@ class AggregatesController extends BaseController 'aggrname' => [ 'title' => $this->lang['strname'], 'field' => Decorator::field('proname'), - 'url' => "redirect.php?subject=aggregate&action=properties&{$misc->href}&", + 'url' => "redirect.php?subject=aggregate&action=properties&{$this->misc->href}&", 'vars' => ['aggrname' => 'proname', 'aggrtype' => 'proargtypes'], ], 'aggrtype' => [ @@ -156,7 +156,7 @@ class AggregatesController extends BaseController unset($actions['alter']); } - $echo->printTable($aggregates, $columns, $actions, $this->table_place, $this->lang['strnoaggregates']); + echo $this->printTable($aggregates, $columns, $actions, $this->table_place, $this->lang['strnoaggregates']); $navlinks = [ 'create' => [ @@ -271,7 +271,7 @@ class AggregatesController extends BaseController $this->printTitle($this->lang['strcreateaggregate'], 'pg.aggregate.create'); $this->printMsg($msg); - echo '
\n"; + echo '\n"; echo "\n"; echo "\t\n\t\t\n"; echo "\t\t
{$this->lang['strname']}data->_maxNameLen}\" value=\"", @@ -353,7 +353,7 @@ class AggregatesController extends BaseController $this->printTitle($this->lang['stralter'], 'pg.aggregate.alter'); $this->printMsg($msg); - echo '\n"; + echo '\n"; $aggrdata = $this->data->getAggregate($_REQUEST['aggrname'], $_REQUEST['aggrtype']); if ($aggrdata->recordCount() > 0) { // Output table header @@ -401,7 +401,7 @@ class AggregatesController extends BaseController echo '

', sprintf($this->lang['strconfdropaggregate'], htmlspecialchars($_REQUEST['aggrname'])), "

\n"; - echo '\n"; + echo '\n"; echo "

\n"; echo "

\n"; echo '\n"; -- cgit v1.2.3