X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Flayouts%2Fscripts%2Ffooter.phtml;h=e6d733f349ce274843d3ba9a7932736d5a8c4ee4;hp=c2b90b697fd762073dca4a8a96558dde2e5c1a4f;hb=3613612e1f8a5b1ff659b903eb5a4f1b4e178e66;hpb=6c1b83c4b957fcb1886535dc8decbcf16bf4a384 diff --git a/application/layouts/scripts/footer.phtml b/application/layouts/scripts/footer.phtml index c2b90b6..e6d733f 100644 --- a/application/layouts/scripts/footer.phtml +++ b/application/layouts/scripts/footer.phtml @@ -11,7 +11,7 @@ echo '' . PHP_EOL; $front = Zend_Controller_Front::getInstance(); $reqParams = $front->getRequest()->getParams(); -$mainpage = ($reqParams['controller'] === 'idx') and (!isset($reqParams['url'])); +$mainpage = ($reqParams['controller'] === 'idx') && (!isset($reqParams['url'])); $content = $this->translate("create a route"); $link = ($mainpage) ? $this->escape($content) : $this->anchor($this->baseUrl(), $content, array('class' => 'footer-anchor'));