Modify ↓
Opened 3 years ago
Closed 3 years ago
#2315 closed Bug/Fehler (fixed)
popup_content.php - Prüfung ob $_GET['coID'] existiert kommt zu spät
| 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
Vorschlag zur Korrektur:
popup_content.php
Suchen nach:
$content_data = $main->getContentData((int)$_GET['coID'], '', '', (isset($_GET['preview']) ? true : false));
if (!isset($_GET['coID']) || $_GET['coID'] == '' || count($content_data) < 1) {
die('Direct Access to this location is not allowed.');
}
Ersetzen mit:
$content_data = array();
if (!empty($_GET['coID'])) {
$content_data = $main->getContentData((int)$_GET['coID'], '', '', (isset($_GET['preview']) ? true : false));
}
if (empty($content_data)) {
die('Direct Access to this location is not allowed.');
}
Attachments (0)
Note:
See TracTickets
for help on using tickets.

In 14775: