View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001577 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2009-12-22 17:05 | 2012-12-07 14:23 |
Reporter | tomas_liubinas | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.0 revision 26948 | ||||
Summary | 0001577: RecommList::getRatingValue() should never return empty value | ||||
Description | RecommList::getRatingValue() should never return empty (null) value. getRatingValue() result is used as parameter in smarty math method in template. Aparently math method can not deal with empty parameters and throws warning message. Methods like this should always return int value. "return (int) $this->_dRatingValue;" normally fixes the problem. Please also check all other methods which are used as math param. | ||||
Tags | Ratings, Reviews | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||