From 2bbd4152c4ead167ccbe5dd3487f5be10f787645 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 5 Mar 2012 11:32:26 +0100 Subject: [PATCH] lx-office-erp stylesheet als fallback --- SL/Form.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SL/Form.pm b/SL/Form.pm index 7eab5c294..810552b1c 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -465,6 +465,8 @@ sub get_stylesheet_for_user { if (my $user_style = $::myconfig{stylesheet}) { $user_style =~ s/\.css$//; # nuke trailing .css, this is a remnand of pre 2.7.0 stylesheet handling $css_path = "$css_path/$user_style" if -d "$css_path/$user_style"; + } else { + $css_path = "$css_path/lx-office-erp"; } $::myconfig{css_path} = $css_path; # needed for menunew, FIXME: don't do this here -- 2.20.1