mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Update settings.php
This commit is contained in:
@@ -1612,7 +1612,7 @@ Sent by MyAAC,<br/>
|
|||||||
'callbacks' => [
|
'callbacks' => [
|
||||||
'beforeSave' => function($key, $value, &$errorMessage) {
|
'beforeSave' => function($key, $value, &$errorMessage) {
|
||||||
global $db;
|
global $db;
|
||||||
|
|
||||||
if (!$db->hasColumn('accounts', $value)) {
|
if (!$db->hasColumn('accounts', $value)) {
|
||||||
$errorMessage = "Shop: Donate Column: Cannot set column to $value, because it doesn't exist in database.";
|
$errorMessage = "Shop: Donate Column: Cannot set column to $value, because it doesn't exist in database.";
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user