Opened 3 years ago
Closed 3 years ago
#2312 closed Bug/Fehler (fixed)
Diverse Log Meldungen, wenn Text für Startseite deaktiviert ist
| Reported by: | web-looks.de | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.8.0 |
| Component: | Shop | Version: | 2.0.7.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Text für Startseite im Content Manager deaktiviert.
Meldungen:
[notice] Trying to access array offset on value of type bool in File: /includes/classes/main.php on Line: 233
[notice] Trying to access array offset on value of type bool in File: /includes/modules/default.php on Line: 315
[notice] Trying to access array offset on value of type bool in File: /includes/extra/default/center_modules/customer_greeting.php on Line: 18
Vorschlag zur Korrektur:
/includes/classes/main.php
Suchen nach:
if ($content_data_array['content_file'] != '') {
Ersetzen mit:
if (!empty($content_data_array['content_file'])) {
/includes/modules/default.php
Suchen nach:
$default_smarty->assign('title', $shop_content_data['content_heading']);
Ersetzen mit:
if (!empty($shop_content_data['content_heading'])) {
$default_smarty->assign('title', $shop_content_data['content_heading']);
}
/includes/extra/default/center_modules/customer_greeting.php
Suchen nach:
}
$default_smarty->assign('text', $shop_content_data['content_text']);
Ersetzen mit:
$default_smarty->assign('text', $shop_content_data['content_text']);
}

In 14852: