Notice : Undefined variable: element dans date_field_formatter_view() (line 215 in /var/www/drupal/sites/all/modules/contrib/date/date.field.inc).
I got this notice because bad syntax
$elent = array(); it must be $element = array();

Comments

lazzyvn created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, bad_syntax_element.patch, failed testing. View results

joseph.olstad’s picture

Thanks for the patch, I will RTBC this, here is a rerolled fix.
original patch was almost ok, had wrong path
Little tip, you should always make the patch from a fresh clone of the project , in this case the date project, not some other project that we don't know about.

joseph.olstad’s picture

Status: Needs work » Reviewed & tested by the community

DamienMckenna, we should push this in asap.

joseph.olstad’s picture

damienmckenna’s picture

Version: 7.x-2.11-beta1 » 7.x-2.x-dev
Status: Reviewed & tested by the community » Fixed
Parent issue: » #2867810: Plan for Date 7.x-2.11 release

Committed. Thanks.

Status: Fixed » Closed (fixed)

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