diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-06-06 03:37:19 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-06-06 03:37:19 +0300 |
commit | 2fcb4c9f58f2869d3dfa693aa068c2757c01108e (patch) | |
tree | d27b0f8ebc9993f667636a4e7feb4b549a706f55 /src/controllers/SqlController.php | |
parent | bc851f5524d7ba14747595afd881ff8143e5d84c (diff) |
handles more styling issues
Diffstat (limited to 'src/controllers/SqlController.php')
-rw-r--r-- | src/controllers/SqlController.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/controllers/SqlController.php b/src/controllers/SqlController.php index 15c5c8f8..ae75f8e2 100644 --- a/src/controllers/SqlController.php +++ b/src/controllers/SqlController.php @@ -83,9 +83,9 @@ class SqlController extends BaseController $this->start_time = ((float) $usec + (float) $sec); } - $this->doDefault(); + $rs = $this->doDefault(); - $this->doFooter(true, 'footer_sqledit.twig'); + $this->doFooter(true, 'footer_sqledit.twig', $rs); } public function doDefault() @@ -229,10 +229,12 @@ class SqlController extends BaseController // Otherwise nodata to print echo '<p>', $this->lang['strnodata'], "</p>\n"; } + + return $rs; } } - private function doFooter($doBody = true, $template = 'footer.twig') + private function doFooter($doBody = true, $template = 'footer.twig', $rs = null) { $data = $this->misc->getDatabaseAccessor(); |