Closed (fixed)
Project:
SEO Checklist
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2009 at 06:45 UTC
Updated:
8 Aug 2009 at 01:10 UTC
Hi,
if submit button text save is translated by locale module, the SEO checklist module doesn't work correctly, submitting form by save button do nothing ;)
Problem is in SEOChecklist.module file in line 274: if($_POST['op']=='Save' ) vs. button text generated by construction '#value' => t('Save') in line 82 (and 263).
I fix the problem changing line 274 to if($_POST['op']==t('Save') ) for me but I'm not sure it is 100% correct solution.
P.S. Tnx for the module ;)
Comments
Comment #1
shiroitatsu commentedNoticed the same problem too. Fix working well.
Comment #2
theusualsuspect commentedI had the same problem too, with the german localization, but your fix worked perfect. First time I ever hacked a module instead of patching it, but your fix is so obvious and simple, why go through all the trouble to patch...
Comment #3
viadimezzo commentedThanks for the fix. :-)
Comment #4
ben finklea commentedTry 2.0. Download it here: Drupal SEO Checklist