Fix az09 -> aZ09
This commit is contained in:
parent
7b3e64d67f
commit
19c78d42e9
@ -116,7 +116,7 @@ if (empty($reshook))
|
|||||||
if (GETPOST('addfilter', 'alpha'))
|
if (GETPOST('addfilter', 'alpha'))
|
||||||
{
|
{
|
||||||
$emailcollectorfilter = new EmailCollectorFilter($db);
|
$emailcollectorfilter = new EmailCollectorFilter($db);
|
||||||
$emailcollectorfilter->type = GETPOST('filtertype', 'az09');
|
$emailcollectorfilter->type = GETPOST('filtertype', 'aZ09');
|
||||||
$emailcollectorfilter->rulevalue = GETPOST('rulevalue', 'alpha');
|
$emailcollectorfilter->rulevalue = GETPOST('rulevalue', 'alpha');
|
||||||
$emailcollectorfilter->fk_emailcollector = $object->id;
|
$emailcollectorfilter->fk_emailcollector = $object->id;
|
||||||
$emailcollectorfilter->status = 1;
|
$emailcollectorfilter->status = 1;
|
||||||
@ -150,7 +150,7 @@ if ($action == 'deletefilter')
|
|||||||
if (GETPOST('addoperation', 'alpha'))
|
if (GETPOST('addoperation', 'alpha'))
|
||||||
{
|
{
|
||||||
$emailcollectoroperation = new EmailCollectorAction($db);
|
$emailcollectoroperation = new EmailCollectorAction($db);
|
||||||
$emailcollectoroperation->type = GETPOST('operationtype', 'az09');
|
$emailcollectoroperation->type = GETPOST('operationtype', 'aZ09');
|
||||||
$emailcollectoroperation->actionparam = GETPOST('operationparam', 'none');
|
$emailcollectoroperation->actionparam = GETPOST('operationparam', 'none');
|
||||||
$emailcollectoroperation->fk_emailcollector = $object->id;
|
$emailcollectoroperation->fk_emailcollector = $object->id;
|
||||||
$emailcollectoroperation->status = 1;
|
$emailcollectoroperation->status = 1;
|
||||||
|
|||||||
@ -4473,7 +4473,9 @@ function price($amount, $form = 0, $outlangs = '', $trunc = 1, $rounding = -1, $
|
|||||||
* 'MS'=Round to Max for stock quantity (MAIN_MAX_DECIMALS_STOCK)
|
* 'MS'=Round to Max for stock quantity (MAIN_MAX_DECIMALS_STOCK)
|
||||||
* Numeric = Nb of digits for rounding
|
* Numeric = Nb of digits for rounding
|
||||||
* @param int $alreadysqlnb Put 1 if you know that content is already universal format number
|
* @param int $alreadysqlnb Put 1 if you know that content is already universal format number
|
||||||
* @return string Amount with universal numeric format (Example: '99.99999') or unchanged text if conversion fails. If amount is null or '', it returns ''.
|
* @return string Amount with universal numeric format (Example: '99.99999').
|
||||||
|
* If conversion fails, it return text unchanged if $rounding = '' or '0' if $rounding is defined.
|
||||||
|
* If amount is null or '', it returns '' if $rounding = '' or '0' if $rounding is defined..
|
||||||
*
|
*
|
||||||
* @see price() Opposite function of price2num
|
* @see price() Opposite function of price2num
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -35,7 +35,7 @@ $allowinstall = 0;
|
|||||||
$allowupgrade = false;
|
$allowupgrade = false;
|
||||||
$checksok = 1;
|
$checksok = 1;
|
||||||
|
|
||||||
$setuplang=GETPOST("selectlang", 'az09', 3)?GETPOST("selectlang", 'az09', 3):$langs->getDefaultLang();
|
$setuplang=GETPOST("selectlang", 'aZ09', 3)?GETPOST("selectlang", 'aZ09', 3):$langs->getDefaultLang();
|
||||||
$langs->setDefaultLang($setuplang);
|
$langs->setDefaultLang($setuplang);
|
||||||
|
|
||||||
$langs->load("install");
|
$langs->load("install");
|
||||||
|
|||||||
@ -42,7 +42,7 @@ error_reporting(0);
|
|||||||
@set_time_limit(120);
|
@set_time_limit(120);
|
||||||
error_reporting($err);
|
error_reporting($err);
|
||||||
|
|
||||||
$setuplang=GETPOST("selectlang", 'az09', 3)?GETPOST("selectlang", 'az09', 3):'auto';
|
$setuplang=GETPOST("selectlang", 'aZ09', 3)?GETPOST("selectlang", 'aZ09', 3):'auto';
|
||||||
$langs->setDefaultLang($setuplang);
|
$langs->setDefaultLang($setuplang);
|
||||||
|
|
||||||
$langs->loadLangs(array("admin","install","other"));
|
$langs->loadLangs(array("admin","install","other"));
|
||||||
|
|||||||
@ -965,7 +965,7 @@ if (! defined('NOLOGIN'))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dol_syslog("--- Access to ".$_SERVER["PHP_SELF"].' - action='.GETPOST('action', 'az09').', massaction='.GETPOST('massaction', 'az09'));
|
dol_syslog("--- Access to ".$_SERVER["PHP_SELF"].' - action='.GETPOST('action', 'aZ09').', massaction='.GETPOST('massaction', 'aZ09'));
|
||||||
//Another call for easy debugg
|
//Another call for easy debugg
|
||||||
//dol_syslog("Access to ".$_SERVER["PHP_SELF"].' GET='.join(',',array_keys($_GET)).'->'.join(',',$_GET).' POST:'.join(',',array_keys($_POST)).'->'.join(',',$_POST));
|
//dol_syslog("Access to ".$_SERVER["PHP_SELF"].' GET='.join(',',array_keys($_GET)).'->'.join(',',$_GET).' POST:'.join(',',array_keys($_POST)).'->'.join(',',$_POST));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user