diff options
Diffstat (limited to 'application/controllers/BootosController.php')
| -rw-r--r-- | application/controllers/BootosController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/BootosController.php b/application/controllers/BootosController.php index 5f096a6..69621f0 100644 --- a/application/controllers/BootosController.php +++ b/application/controllers/BootosController.php @@ -52,7 +52,7 @@ class BootosController extends Zend_Controller_Action if (!isset($_POST["editbootos"])){ $bootosID = $this->_request->getParam('bootosID'); - if (!isset($bootosID)){ + if (!isset($bootosID) || !is_numeric($bootosID)){ $this->_redirect('/bootos'); } else { $bootos = new Application_Model_BootOs(); |
