1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 21:57:34 +02:00

Admin -> Mail : upgraded GUI to v2 standards. Template still requires attention.

This commit is contained in:
Cameron
2014-10-10 20:16:11 -07:00
parent 31411dc264
commit e378c16971
8 changed files with 1124 additions and 137 deletions

View File

@@ -262,8 +262,8 @@ class e107MailManager
$res[$f] = '';
}
}
$array = new ArrayData;
$res['mail_other'] = $array->WriteArray($res1, TRUE); // Ready to write to DB
// $array = new ArrayData;
$res['mail_other'] = e107::serialize($res1, TRUE); // Ready to write to DB
return $res;
}
@@ -296,8 +296,8 @@ class e107MailManager
}
if (isset($data['mail_other']))
{
$array = new ArrayData;
$tmp = $array->ReadArray(str_replace('\\\'', '\'',$data['mail_other'])); // May have escaped data
$tmp = e107::unserialize(str_replace('\\\'', '\'',$data['mail_other'])); // May have escaped data
if (is_array($tmp))
{
$res = array_merge($res,$tmp);