View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003481 | OXID eShop (all versions) | 1.04. Content, static (register, contact etc.) pages | public | 2012-01-04 15:44 | 2012-03-27 15:32 |
| Reporter | boehme | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.5.5 revision 40299 | ||||
| Fixed in Version | 4.6.0_RC1 | ||||
| Summary | 0003481: smartyblock oxifcontent executes content even if requested oxcontent-object is inactive | ||||
| Description | In smarty blockfunction oxifcontent: if ( $oContent && $oContent->oxcontents__oxactive->value ) { $smarty->assign($sObject, $oContent); $blLoaded = true; } This codesnippet assigns the oxContent-object to smarty only if it is active (which is correct). If it was loaded successful $blLoaded is already true and the content of the smarty block will be executed without assigning the oxContent-object. This behavior can easily result in fatal errors. | ||||
| Tags | No tags attached. | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||