reverted minor merge issue

This commit is contained in:
Frank Schubert
2023-04-19 18:14:31 +02:00
parent 91b71747d3
commit 4d0cbd84f3
3 changed files with 3 additions and 8 deletions

View File

@@ -9,12 +9,12 @@ class Product extends mfBaseModel {
private $attributes;
public function loadAttributes() {
$this->attributes = [];
if(!$this->producttech_id) {
return [];
}
$this->attributes = [];
// get tech attribs
$ptattribs = mfValuecache::singleton()->get("ProducttechAttributes-techid-".$this->producttech_id);
if($ptattribs === null) {