From b8c88a214449d5129fd4c479249cfa7c2373d10d Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Wed, 3 Oct 2018 15:43:00 +0200 Subject: [PATCH] rename var --- htdocs/resource/list.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/resource/list.php b/htdocs/resource/list.php index cce22025a9a..85be267613d 100644 --- a/htdocs/resource/list.php +++ b/htdocs/resource/list.php @@ -242,14 +242,14 @@ print "\n"; if ($ret) { - foreach ($object->lines as $ressource) + foreach ($object->lines as $resource) { print ''; if (! empty($arrayfields['t.ref']['checked'])) { print ''; - print $ressource->getNomUrl(5); + print $resource->getNomUrl(5); print ''; if (! $i) $totalarray['nbfield']++; } @@ -257,20 +257,20 @@ if ($ret) if (! empty($arrayfields['ty.label']['checked'])) { print ''; - print $ressource->type_label; + print $resource->type_label; print ''; if (! $i) $totalarray['nbfield']++; } // Extra fields - $obj = (Object) $ressource->array_options; + $obj = (Object) $resource->array_options; include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php'; print ''; - print ''; + print ''; print img_edit(); print ''; print ' '; - print ''; + print ''; print img_delete(); print ''; print '';