aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_image
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/video_image')
-rw-r--r--plugins/video_image/video_image.module2
1 files changed, 1 insertions, 1 deletions
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.<br />To prevent system errors video_image module has been disabled.<br />Please install the image module and then reactivate the video_image module.', array('%module' => l('image', 'http://drupal.org/project/image'))), 'error');
break;