[imp] Script errors in summaryscreen (patch)
Jan Kuipers
jrkuipers@lauwerscollege.nl
Fri, 19 Jul 2002 19:00:44 +0200
This solves the problem with the empty variables:
Index: api.php
===================================================================
RCS file: /repository/imp/lib/api.php,v
retrieving revision 1.29
diff -u -r1.29 api.php
--- api.php 11 Jul 2002 04:17:39 -0000 1.29
+++ api.php 19 Jul 2002 16:56:19 -0000
@@ -110,10 +110,10 @@
}
if (!empty($alert)) {
if ($count == 1) {
- $html .= Horde::bufferOutput('include', IMP_TEMPLATES .
'/folders/confirm.inc');
- } else {
- $html .= Horde::bufferOutput('include', IMP_TEMPLATES .
'/folders/alert.inc');
- }
+ include IMP_TEMPLATES . '/folders/confirm.inc';
+
} else {
+ include IMP_TEMPLATES . '/folders/alert.inc';
+
}
}
}
--
Jan Kuipers
Systeembeheer Lauwers College