Closed (fixed)
Project:
PBCore
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2014 at 20:59 UTC
Updated:
14 Jun 2014 at 18:20 UTC
Jump to comment: Most recent
PHP gives warnings and notices for this module, they are easy to get rid of, here is the diff of what i fixed for PCM
< if (isset($form['field_pbcore_genres']) &&
< isset($form['field_pbcore_genres'][LANGUAGE_NONE])) {
---
> if (isset($form['field_pbcore_genres'])) {
38,39c37
< if (isset($form['field_pbcore_languages']) &&
< isset($form['field_pbcore_languages'][LANGUAGE_NONE])) {
---
> if (isset($form['field_pbcore_languages'])) {
63,64c61
< if (isset($form['field_pbcore_fcc_ratings']) &&
< isset($form['field_pbcore_fcc_ratings'][LANGUAGE_NONE])) {
---
> if (isset($form['field_pbcore_fcc_ratings'])) {
Comments
Comment #1
kreynen commentedComment #3
kreynen commented