Fix warning "Undefined index: ods_recognize_percentages" on ImportOds
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
6c644fec28
commit
5c19230a66
@ -246,7 +246,8 @@ class ImportOds extends ImportPlugin
|
||||
*/
|
||||
protected function getValue($cell_attrs, $text)
|
||||
{
|
||||
if ($_REQUEST['ods_recognize_percentages']
|
||||
if (isset($_REQUEST['ods_recognize_percentages'])
|
||||
&& $_REQUEST['ods_recognize_percentages']
|
||||
&& ! strcmp(
|
||||
'percentage',
|
||||
(string) $cell_attrs['value-type']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user