diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-12-06 20:32:26 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-12-06 20:32:26 +0100 |
commit | 3cb5e32cb9ecb4835b1bc71e2e851b9691328eba (patch) | |
tree | a34b926243b5248ebde54b465fc37979982a9012 | |
parent | c828f5b327bdbcd46a85890221ba47b91df386e0 (diff) |
important use of else
-rw-r--r-- | index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 => { |