From 581bc6a267f2377addd53286b27a282b44816257 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 13 May 2002 18:59:53 +0000 Subject: - more coding style fixes. --- modules/cloud.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/cloud.module') diff --git a/modules/cloud.module b/modules/cloud.module index 8acc5c4b0..8575b342f 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -47,11 +47,11 @@ function cloud_update($site) { ** Check whether the site is properly configured: */ - if (!ereg("^http://|https://|ftp://", $site[link])) { + if (!ereg("^http://|https://|ftp://", $site["link"])) { watchdog("warning", "cloud: invalid or missing URL for '". $site["name"] ."'"); } - if (!ereg("^http://|https://|ftp://", $site[feed])) { + if (!ereg("^http://|https://|ftp://", $site["feed"])) { watchdog("warning", "cloud: invalid or missing URL to monitor for '". $site["name"] ."'"); } -- cgit v1.2.3