X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_BaseResponse.php;h=8fc37c14fa7283b82e0102b7a8bddc3a21426fa2;hb=fdc6a02b5e6c2155cda61fcc345c7583b734ab85;hp=a2d0e302bd840d3d97e001bfcd17af123b41d0d9;hpb=89f25725096fa51850e2d4d0a2ed57906c0b23e0;p=core.git diff --git a/inc/classes/main/response/class_BaseResponse.php b/inc/classes/main/response/class_BaseResponse.php index a2d0e302..8fc37c14 100644 --- a/inc/classes/main/response/class_BaseResponse.php +++ b/inc/classes/main/response/class_BaseResponse.php @@ -2,11 +2,11 @@ /** * A generic request class * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -131,7 +131,7 @@ class BaseResponse extends BaseFrameworkSystem { */ public final function addFatalMessagePlain ($message) { // Adds the resolved message id to the fatal message list - $this->pushValueToGenericArrayElement('fatal_messages', 'generic', 'message', $message); + $this->pushValueToGenericArrayKey('fatal_messages', 'generic', 'message', $message); } /**