GH52: PHP Notice: Undefined variable: newCode in sources/site/index.php ...on line 68

Reviewed and approved. Please, merge  with master.