If there are no previous variables set for a video provider, the allow variable for that provider is set to FALSE. Culprit code:

<?php
  $test = variable_get('emfield_video_cck_allow_'. $provider->name, NULL) || variable_get('video_cck_allow_'. $provider->name, NULL);
?>

As you can see, if neither variables are found, $test gets set to FALSE, not NULL.

CommentFileSizeAuthor
emvideo.patch795 bytesq0rban

Comments

alex ua’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.