aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/video_customfields/video_customfields.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/video_customfields/video_customfields.module b/plugins/video_customfields/video_customfields.module
index 95c993c..dc997ea 100644
--- a/plugins/video_customfields/video_customfields.module
+++ b/plugins/video_customfields/video_customfields.module
@@ -98,8 +98,8 @@ function video_customfields_settings() {
* We use this to add some custom fields to the video creation form.
* Fields will be displayed only if field title is set on settings page.
*/
-function video_customfileds_form_alter($form_id, &$form) {
-
+function video_customfields_form_alter($form_id, &$form) {
+
if($form_id == 'video_node_form' && isset($form['video']) && user_access('insert custom fields')) {
$title1 = variable_get('video_customfield1', '');