diff options
Diffstat (limited to 'h-source/Application/Controllers/GenericController.php')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 829fe05..4ac197c 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -63,7 +63,9 @@ class GenericController extends BaseController protected function insert($lang = 'en', $token = '') { $this->shift(2); - + + if ( strcmp($this->_updating,'no') !== 0 ) $this->redirect('users/login/'.$this->lang,0); + $clean['token'] = sanitizeAlphanum($token); $data['descriptionPreview'] = null; //contains the HTML of the preview of the description entry |