tags 598585 + patch thanks fix patch (removed 1st hunk) attached.
http://git.horde.org/diff.php/gollem/view.php?rt=horde&r1=1.51.2.6&r2=1.51.2.7&ty=u -- Regards, dai GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
=================================================================== RCS file: /horde/cvs/gollem/view.php,v retrieving revision 1.51.2.6 retrieving revision 1.51.2.7 diff -p --unified=3 -r1.51.2.6 -r1.51.2.7 --- view.php 2009/04/17 11:10:44 1.51.2.6 +++ view.php 2010/08/24 18:31:34 1.51.2.7 @@ -33,15 +33,13 @@ if (is_callable(array($GLOBALS['gollem_v $stream = $GLOBALS['gollem_vfs']->readStream($filedir, $filename); if (is_a($stream, 'PEAR_Error')) { Horde::logMessage($stream, __FILE__, __LINE__, PEAR_LOG_NOTICE); - printf(_("Access denied to %s"), $filename); - exit; + Horde::fatal(sprintf(_("Access denied to %s"), $filename)); } } else { $data = $GLOBALS['gollem_vfs']->read($filedir, $filename); if (is_a($data, 'PEAR_Error')) { Horde::logMessage($data, __FILE__, __LINE__, PEAR_LOG_NOTICE); - printf(_("Access denied to %s"), $filename); - exit; + Horde::fatal(sprintf(_("Access denied to %s"), $filename)); } }
signature.asc
Description: Digital signature