[dev] small patch
Tarjei Huse
tarjei+a_lists.phpgw at nu.no
Tue Jul 6 06:10:53 PDT 2004
This patch was needed for me to get Horde_Block_Collection to work.
Tarjei
RCS file: /repository/framework/Block/Block/Collection.php,v
retrieving revision 1.25
diff -u -r1.25 Collection.php
--- framework/Block/Block/Collection.php 1 Jun 2004 19:28:57
-0000 1.25
+++ framework/Block/Block/Collection.php 6 Jul 2004 13:10:23
-0000
@@ -39,9 +39,9 @@
global $registry;
require_once 'Horde/Block.php';
-
foreach ($registry->listApps() as $app) {
- if (is_a($registry->pushApp($app), 'PEAR_Error')) {
+ $apperr = $registry->pushApp($app);
+ if (is_a($apperr, 'PEAR_Error')) {
continue;
}
$blockdir = $registry->getParam('fileroot', $app) .
'/lib/Block';
More information about the dev
mailing list