X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fcallback-functions.php;h=ecd9dec87d4d9a2b045e92bfec1ee570f4bcc76b;hb=7957bf99511c45f993cdad1304ade6700385fef8;hp=c8a4e052551721de61a17641bddd9e1649bfe011;hpb=85aa6f0f85efbb08a829e3c89d897ceadab69b0e;p=mailer.git diff --git a/inc/callback-functions.php b/inc/callback-functions.php index c8a4e05255..ecd9dec87d 100644 --- a/inc/callback-functions.php +++ b/inc/callback-functions.php @@ -1029,6 +1029,12 @@ function addXmlValueToCallbackAttributes ($element, $attributes, $extraKey = '', * ALIAS and FUNCTION detected? This may happen with SQL queries * like: UNIX_TIMESTAMP(`foo_timestamp`) AS `foo_timestamp` */ + + // Fix missing 'NAME' + if (!isset($attributes['NAME'])) { + $attributes['NAME'] = ''; + } // END - if + // Init array $array = array( 'column' => trim($attributes['VALUE']),