wip
This commit is contained in:
@ -95,12 +95,6 @@ class Home extends Controller {
|
||||
Views::view( 'about' );
|
||||
}
|
||||
|
||||
public function contact() {
|
||||
self::$title = 'Contact Us - {SITENAME}';
|
||||
self::$pageDescription = 'On this page, you\'ll be able to reach out to the team directly with any questions, comments, or concerns you may have.';
|
||||
Views::view( 'contact' );
|
||||
}
|
||||
|
||||
public function privacy() {
|
||||
self::$title = 'Privacy Policy - {SITENAME}';
|
||||
self::$pageDescription = 'At {SITENAME} you privacy is very important to us. On this page you can find a detailed outline of all the information we collect and how its used.';
|
||||
|
@ -139,11 +139,9 @@ class Usercp extends Controller {
|
||||
|
||||
$prefs = new Preferences;
|
||||
$fields1 = $prefs->convertFormToArray( true, false );
|
||||
$fields2 = [];
|
||||
$fields3 = $fields1;
|
||||
|
||||
if ( isset( $fields1[ $name ] ) ) {
|
||||
$fields2[ $name ] = $value;
|
||||
$fields3[ $name ] = $value;
|
||||
}
|
||||
$result = self::$user->updatePrefs( $fields3, App::$activeUser->ID );
|
||||
|
Reference in New Issue
Block a user