summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2008-02-17 16:42:22 (GMT)
committermoshe weitzman2008-02-17 16:42:22 (GMT)
commit4fed433ea34dd9f8b4736c4a0e5baa5fe186e83d (patch)
tree429d6db688f8d35a47481fc750b9e2adb3d23023
parent738fb016566e12948d9017081e14352c2c29bc43 (diff)
#222484 by Sutharsan. drupal_mail_wrapper language object error6.x-1.1
-rw-r--r--devel.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index 75d66b8..7cf20d3 100644
--- a/devel.module
+++ b/devel.module
@@ -1517,7 +1517,7 @@ if (variable_get('smtp_library', '') == drupal_get_filename('module', 'devel'))
'%mail_id' => $message['id'],
'%to' => $message['to'],
'%from' => $message['from'],
- '%lang' => $message['language'],
+ '%lang' => $message['language']->language,
'%subject' => $message['subject'],
'%body' => $message['body'],
'!header' => implode("<br />", $mimeheaders),