Hello,

I have found a bug with teaser by content module :

In the .module file, function teaserbytype_node_edit_form_submit($form, &$form_state), line 132 :

  if ($form_state['clicked_button']['#value'] == 'Preview') {

The 'Preview' string should be called with the translate function t(). In the french version of my site, I have 'Aperçu' instead of Preview, so the module doesn't work in this case.

It's ok with :

  if ($form_state['clicked_button']['#value'] == t('Preview') ) {

Comments

joachim’s picture

Status: Active » Fixed

Thanks for reporting this.

Fixed; will make a new release with this fix as I doubt any other bugs will crop up; this was the first in years! :)

Status: Fixed » Closed (fixed)

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