Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-1.x-dev
Component:
Embedded Video Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2009 at 18:52 UTC
Updated:
25 May 2009 at 19:50 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| emvideo.patch | 795 bytes | q0rban |
Comments
Comment #1
alex ua commentedCommitted. Thanks!