Fix case of package name in render call in pm file
This commit is contained in:
@@ -151,7 +151,7 @@ sub do_update {
|
||||
if ($ret ne "ok") {
|
||||
# return to the panel with error message
|
||||
$c->stash(error => $c->l($ret));
|
||||
$c->render("${PackageName}");
|
||||
$c->render("${lcPackageName}");
|
||||
} else {
|
||||
#Do whatever is needed, including writing values to the DB
|
||||
<tal:block tal:repeat="panel panels">
|
||||
@@ -161,7 +161,7 @@ sub do_update {
|
||||
if ($ret ne "ok") {
|
||||
# return to the panel with error message
|
||||
$c->stash(error => $c->l($ret));
|
||||
$c->render("${PackageName}");
|
||||
$c->render("${lcPackageName}");
|
||||
} else {
|
||||
$c->stash( success => $c->l('${panel} panel action was successful')); #A bit bland - edit it in the lex file
|
||||
}
|
||||
@@ -180,7 +180,7 @@ sub do_update {
|
||||
} else {
|
||||
$$${prefix}_data{'trt'} = '${NextPanel | "none"}';
|
||||
}
|
||||
$c->render("${PackageName}");
|
||||
$c->render("${lcPackageName}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,7 +241,7 @@ sub do_display {
|
||||
title => $title,
|
||||
${prefix}_data => \%${prefix}_data
|
||||
);
|
||||
$c->render("${PackageName}");
|
||||
$c->render("${lcPackageName}");
|
||||
}
|
||||
1;
|
||||
|
||||
|
Reference in New Issue
Block a user