<?php
+use Friendica\App;
+
require_once('include/enotify.php');
require_once('include/bbcode.php');
require_once('include/user.php');
}
// Only send a password mail when the password wasn't manually provided
- if (!x($_POST,'password1') OR !x($_POST,'confirm')) {
+ if (!x($_POST,'password1') || !x($_POST,'confirm')) {
$res = send_register_open_eml(
$user['email'],
$a->config['sitename'],