Skip to content

Commit bc93356

Browse files
committed
Merge branch 'develop' into phoenix
2 parents 6b8711b + b5d5db8 commit bc93356

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

src/controllers/User/Register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected function tryRegister(Router &$router, UserRegisterModel &$model) {
196196
$mail = new PHPMailer( true ); // true enables exceptions
197197
$mail_config = Common::$config->email;
198198

199-
$state->mail &= $mail;
199+
$state->mail = &$mail;
200200
$state->token = ( $user ? $user->getVerificationToken() : null );
201201
$state->user_id = $user_id;
202202

src/controllers/User/ResetPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function doPasswordReset( UserResetPasswordModel &$model, &$data ) {
111111
$mail = new PHPMailer( true ); // true enables exceptions
112112
$mail_config = Common::$config->email;
113113

114-
$state->mail &= $mail;
114+
$state->mail = &$mail;
115115
$state->token = $model->user->getVerificationToken();
116116
$state->user = $model->user;
117117

src/templates/Comment/Delete.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ switch ($this->getContext()->error) {
2727
break;
2828
case "INTERNAL_ERROR":
2929
$message = "An internal error occurred while processing your request. "
30-
. "Our staff has been notified of the issue. Try again later.";
30+
. "Our staff have been notified of the issue. Try again later.";
3131
break;
3232
default:
3333
$message = $this->getContext()->error;

src/templates/Comment/Edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ switch ($this->getContext()->error) {
2828
break;
2929
case "INTERNAL_ERROR":
3030
$message = "An internal error occurred while processing your request. "
31-
. "Our staff has been notified of the issue. Try again later.";
31+
. "Our staff have been notified of the issue. Try again later.";
3232
break;
3333
default:
3434
$message = $this->getContext()->error;

src/templates/Document/Create.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ switch ($this->getContext()->error) {
2828
break;
2929
case "INTERNAL_ERROR":
3030
$message = "An internal error occurred while processing your request. "
31-
. "Our staff has been notified of the issue. Try again later.";
31+
. "Our staff have been notified of the issue. Try again later.";
3232
break;
3333
default:
3434
$message = $this->getContext()->error;

src/templates/Document/Delete.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ switch ($this->getContext()->error) {
2727
break;
2828
case "INTERNAL_ERROR":
2929
$message = "An internal error occurred while processing your request. "
30-
. "Our staff has been notified of the issue. Try again later.";
30+
. "Our staff have been notified of the issue. Try again later.";
3131
break;
3232
default:
3333
$message = $this->getContext()->error;

src/templates/Document/Edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ switch ($this->getContext()->error) {
3131
break;
3232
case "INTERNAL_ERROR":
3333
$message = "An internal error occurred while processing your request. "
34-
. "Our staff has been notified of the issue. Try again later.";
34+
. "Our staff have been notified of the issue. Try again later.";
3535
break;
3636
default:
3737
$message = $this->getContext()->error;

src/templates/GlobalErrorHandler.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<header class="red">Internal Error</header>
121121
<section class="red">
122122
<p>An internal server error occurred while processing your request.</p>
123-
<p>The BNETDocs staff has been notified of this issue.</p>
123+
<p>The BNETDocs staff have been notified of this issue.</p>
124124
<p>Please <a href="https://github.com/BNETDocs/bnetdocs-web/issues/new?title=Internal+Error">report this issue to GitHub</a> if it persists.</p>
125125
</section>
126126
</article>

src/templates/News/Create.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ switch ($this->getContext()->error) {
2828
break;
2929
case "INTERNAL_ERROR":
3030
$message = "An internal error occurred while processing your request. "
31-
. "Our staff has been notified of the issue. Try again later.";
31+
. "Our staff have been notified of the issue. Try again later.";
3232
break;
3333
default:
3434
$message = $this->getContext()->error;

src/templates/News/Delete.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ switch ($this->getContext()->error) {
2727
break;
2828
case "INTERNAL_ERROR":
2929
$message = "An internal error occurred while processing your request. "
30-
. "Our staff has been notified of the issue. Try again later.";
30+
. "Our staff have been notified of the issue. Try again later.";
3131
break;
3232
default:
3333
$message = $this->getContext()->error;

0 commit comments

Comments
 (0)