mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
PHP warning fixes.
This commit is contained in:
@@ -5093,7 +5093,7 @@ var_dump($select_options);*/
|
||||
{
|
||||
if(isset($parms['sep']))
|
||||
{
|
||||
$value = number_format($value, $parms['decimals'], vartrue($parms['point'], '.'), vartrue($parms['sep'], ' '));
|
||||
$value = number_format($value, varset($parms['decimals'],0), vartrue($parms['point'], '.'), vartrue($parms['sep'], ' '));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -7323,7 +7323,7 @@ var_dump($select_options);*/
|
||||
$key = $att['field'];
|
||||
}
|
||||
|
||||
if($key === 'checkboxes' || $key === 'options' || ($att['type'] === null) || ($att['type'] === false))
|
||||
if($key === 'checkboxes' || $key === 'options' || (varset($att['type']) === null) || (varset($att['type']) === false))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user