| phpMyEdit - Viewing Bug Advanced Details | [ Go Back ] | ||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 635 | extension related | minor | always | 2009-05-18 13:32 | 2009-05-18 13:32 |
|
|
|||||
| Reporter: | mabi | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | Version: | |||
| Status: | new | Product Version: | 5.7.1 (stable) | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | Duplicate ID: | |||
| ETA: | none | ||||
|
|
|||||
| Summary: | extension phpMyEdit-mce-cal generates incorrect calendar setup code | ||||
| Description: |
phpMyEdit-mce-cal generates the calendar setup code using double quotes around integers and boolean values confusing jscalendar. In the generated html there is also a missing space between the id and name field. I attach a patch based on version v 1.6 2006-09-16 18:43:47 nepto |
||||
| Steps To Reproduce: | |||||
| Additional Information / Solution: |
patch: 469c469 < echo 'name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="'; --- > echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="'; 494c494,500 < echo "\t",str_pad($ck1, 15),' : "',$cv1,'",',"\n"; --- > if(is_int($cv1)){ > echo "\t",str_pad($ck1, 15),' : ',$cv1,',',"\n"; > }else if(is_bool($cv1)){ > echo "\t",str_pad($ck1, 15),' : ',$cv1?'true':'false',',',"\n"; > }else{ > echo "\t",str_pad($ck1, 15),' : "',$cv1,'",',"\n"; > } |
||||
| Attached Files: | |||||
| There are no notes attached to this bug. |