summaryrefslogtreecommitdiff
path: root/modules/cloud.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cloud.module')
-rw-r--r--modules/cloud.module4
1 files changed, 2 insertions, 2 deletions
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"] ."'");
}