diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 5380433df3df68e266461ced7fa5a97fc4195fc5..b8354daebeab02c7f5090d33ef09cadace1c4f38 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -48,7 +48,7 @@ $langs->load('orders');
 $langs->load('products');
 
 $sall=GETPOST("sall");
-$mesg=GETPOST("mesg");
+$mesg=(GETPOST("msg") ? GETPOST("msg") : GETPOST("mesg"));
 $year=GETPOST("year");
 $month=GETPOST("month");
 $socid=GETPOST('socid');