Author: benj
Date: Tue Nov 29 15:46:57 2016
New Revision: 1765
URL: http://svn.gna.org/viewcvs/gdtc?rev=1765&view=rev
Log:
Fix warning
Modified:
trunk/gdtc/include/mail.php
Modified: trunk/gdtc/include/mail.php
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/mail.php?rev=1765&r1=1764&r2=1765&view=diff
==============================================================================
--- trunk/gdtc/include/mail.php (original)
+++ trunk/gdtc/include/mail.php Tue Nov 29 15:46:57 2016
@@ -59,7 +59,10 @@
if ($indic)
$additional [ 'authkey' ] = $indic[0]['authkey'];
}
- $additional [ 'name' ] .= $additional ['details'] [ 'name' ];
+ if ( array_key_exists ( 'details', $additional ['details'] ) )
+ {
+ $additional [ 'name' ] .= $additional ['details'] [ 'name' ];
+ }
$additional [ 'start_date' ] = sql2date ( $additional [ 'subscription' ]
[ 'start_date' ] );
$additional [ 'amount' ] = $additional [ 'subscription' ] [ 'amount' ];
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits