[dev] Links.php patch
Jeroen Huinink
j.huinink at wanadoo.nl
Tue Feb 25 11:07:47 PST 2003
Additional check in Links.php allows it to work with non updated config.
Regards,
Jeroen
Index: Links.php
===================================================================
RCS file: /repository/horde/lib/Links.php,v
retrieving revision 1.3
diff -u -r1.3 Links.php
--- Links.php 24 Feb 2003 21:47:52 -0000 1.3
+++ Links.php 25 Feb 2003 10:05:25 -0000
@@ -296,7 +296,11 @@
static $instances;
if (empty($driver)) {
- $driver = $conf['links']['driver'];
+ if (isset($conf['links']['driver'])) {
+ $driver = $conf['links']['driver'];
+ } else {
+ $driver = 'none';
+ }
}
if ($registry->getParam('provides', $from_application) != '') {
More information about the dev
mailing list