From a2b654b7a2fbb3e424df58682d75d81b96b9a743 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 23 Dec 2015 12:33:14 +0100 Subject: [PATCH] Typo: BUSINESSES statt BUSINESSS --- SL/Controller/Business.pm | 4 ++-- templates/webpages/business/list.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SL/Controller/Business.pm b/SL/Controller/Business.pm index f7108bb33..dbd0f33bb 100644 --- a/SL/Controller/Business.pm +++ b/SL/Controller/Business.pm @@ -23,8 +23,8 @@ sub action_list { my ($self) = @_; $self->render('business/list', - title => $::locale->text('Businesses'), - BUSINESSS => SL::DB::Manager::Business->get_all_sorted); + title => $::locale->text('Businesses'), + BUSINESSES => SL::DB::Manager::Business->get_all_sorted); } sub action_new { diff --git a/templates/webpages/business/list.html b/templates/webpages/business/list.html index f1e5c55f7..1fe7aff69 100644 --- a/templates/webpages/business/list.html +++ b/templates/webpages/business/list.html @@ -4,7 +4,7 @@ [%- INCLUDE 'common/flash.html' %]
- [% IF !BUSINESSS.size %] + [% IF !BUSINESSES.size %]

[%- LxERP.t8('No business has been created yet.') %]

@@ -23,7 +23,7 @@ - [%- FOREACH business = BUSINESSS %] + [%- FOREACH business = BUSINESSES %] -- 2.20.1