Also fixed case where HTML could have unclosed <form> elements,
leading to warnings in the error log when accepting pending
or rejected suggestions.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
<!--TMPL_IF EXPR="suggestiontype eq 'rejected'"-->
<b>No rejected suggestions.</b>
<!--/TMPL_IF-->
+</form>
<!-- /TMPL_IF -->
</div>
</div></div>
</div>
-</div>
-</div>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
=cut
use strict;
+use warnings;
use CGI;
$op = "else";
if (scalar(@deletelist)>0){
my $params = "&delete_field=".join ("&delete_field=",@deletelist);
- warn $params;
print $input->redirect("/cgi-bin/koha/suggestion/acceptorreject.pl?op=delete_confirm$params");
}
}