- // Set missing elements
- // @TODO Do we need this ugly code here?
- if (!isset($_POST['login'])) $_POST['login'] = "";
- if (!isset($_POST['email'])) $_POST['email'] = "";
+ // Prepare content
+ $content = merge_array(
+ array('login' => '', 'email' => ''),
+ postRequestArray()
+ );