chore(mod_alworkshops): cast hidden_id to int for consistency #10
@ -187,7 +187,7 @@ class Controller extends BaseController
|
||||
}
|
||||
|
||||
// application rekord mentés
|
||||
$app['user_id'] = $_POST['hidden_id'];
|
||||
$app['user_id'] = (int)$_POST['hidden_id'];
|
||||
$app['name'] = trim(addslashes(ucwords($_POST['usr'])));
|
||||
$app['email'] = trim(addslashes($_POST['email']));
|
||||
MySqlHelper::getInstance()->insert('alworkshops_application', $app);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user