Works on possibility to send shipping by mail

Fix: uniformize code
This commit is contained in:
Regis Houssin
2011-06-02 17:20:24 +00:00
parent b58e81d186
commit 857006c456
9 changed files with 631 additions and 207 deletions

View File

@@ -3674,6 +3674,18 @@ function get_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok', $keepemb
$ret='';
$out='';
$divstart=$divend='';
if (isset($_SESSION['mesg']))
{
$mesgstring=$_SESSION['mesg'];
unset($_SESSION['mesg']);
}
if (isset($_SESSION['mesgarray']))
{
$mesgarray=$_SESSION['mesgarray'];
unset($_SESSION['mesgarray']);
}
if (! empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY) && ! preg_match('/<div class=".*">/i',$out))
{