Eintragsdetails ansehen
| ID | Projekt | Kategorie | Sichtbarkeit | Meldungsdatum | Zuletzt aktualisiert |
|---|---|---|---|---|---|
| 0000194 | WEB-Shop | Frontend | öffentlich | 27.10.2009 22:13 | 15.11.2009 10:52 |
| Reporter | xantiva | Bearbeitung durch | xantiva | ||
| Priorität | normal | Schweregrad | kleinerer Fehler | Reproduzierbar | nicht getestet |
| Status | erledigt | Lösung | erledigt | ||
| Produktversion | 1.0.5 | ||||
| Zielversion | 1.0.6 | Behoben in Version | 1.0.6 | ||
| Zusammenfassung | 0000194: [account.php] Fehler in der Bestimmung der Kategorie ID | ||||
| Beschreibung | Zufällig gefunden: In dem File soll für die Produkt Historie auch die Kategorie ermittelt werden ... $cpath = xtc_get_product_path($_SESSION['tracking']['products_history'][$i]); $cat = xtc_parse_category_path($cpath); var_dump('cPath=', $cPath, 'cat=', $cat); $cat = implode('_', $cat); $cat_id = $cat[(sizeof($cat) - 1)]; var_dump('cat=', $cat, 'cat_id=', $cat_id); Die Ausgabe sieht dann wie folgt aus: string(6) "cPath=" string(7) "761_771" string(4) "cat=" array(2) { [0]=> int(761) [1]=> int(771) } string(4) "cat=" string(7) "761_771" string(7) "cat_id=" string(1) "7" Eigentlich möchte man mit $cat_id anschließend eine SQL Abfrage starten ... | ||||
| Tags | Keine Tags zugeordnet. | ||||
| Änderungsdatum | Benutzername | Feld | Änderung |
|---|---|---|---|
| 27.10.2009 22:13 | xantiva | Neuer Eintrag | |
| 27.10.2009 22:14 | xantiva | Status | neu => bestätigt |
| 15.11.2009 10:52 | xantiva | Notiz hinzugefügt: 0000146 | |
| 15.11.2009 10:52 | xantiva | Status | bestätigt => erledigt |
| 15.11.2009 10:52 | xantiva | Behoben in Version | => 1.0.6 |
| 15.11.2009 10:52 | xantiva | Lösung | offen => erledigt |
| 15.11.2009 10:52 | xantiva | Bearbeitung durch | => xantiva |