summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-12-06 20:32:26 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-12-06 20:32:26 +0100
commit3cb5e32cb9ecb4835b1bc71e2e851b9691328eba (patch)
treea34b926243b5248ebde54b465fc37979982a9012
parentc828f5b327bdbcd46a85890221ba47b91df386e0 (diff)
important use of else
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index 0fe6eb6..10ea6b0 100644
--- a/index.pl
+++ b/index.pl
@@ -356,7 +356,7 @@ sub handle_request {
);
}
}
- if ( $template eq 'marudor_v1' ) {
+ elsif ( $template eq 'marudor_v1' ) {
$callback //= 'db_fakedisplay';
my $json = $self->render_to_string(
json => {