From 781a2e7c4fb8901e14e5a2b2d537185b88c36e97 Mon Sep 17 00:00:00 2001 From: Fabio Varesano Date: Thu, 21 Sep 2006 12:25:55 +0000 Subject: Patch #82224 by vhmauery (http://drupal.org/user/28957) Bring Video up to date with HEAD: updated all video modules to be used on next drupal 5.0 --- plugins/video_image/video_image.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/video_image') diff --git a/plugins/video_image/video_image.module b/plugins/video_image/video_image.module index 9664523..18c249b 100644 --- a/plugins/video_image/video_image.module +++ b/plugins/video_image/video_image.module @@ -63,7 +63,7 @@ function video_image_nodeapi(&$node, $op, $teaser) { break; case 'prepare': // check that image.module is actived - if ( !module_exist("image")) { + if ( !module_exists("image")) { db_query("UPDATE {system} SET status = 0 WHERE name ='video_image' AND type = 'module' LIMIT 1"); drupal_set_message(t('video_image module requires the %module module.
To prevent system errors video_image module has been disabled.
Please install the image module and then reactivate the video_image module.', array('%module' => l('image', 'http://drupal.org/project/image'))), 'error'); break; -- cgit v1.2.3