{"issue":{"state":"closed","created_at":"2011-11-24T15:42:04Z","updated_at":"2011-11-24T15:42:06Z","comments":1,"user":{"gravatar_id":"9994df352157ae1b778b792744bdbf05","id":1073273,"url":"https://api.github.com/users/aschempp","login":"aschempp","avatar_url":"https://secure.gravatar.com/avatar/9994df352157ae1b778b792744bdbf05?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Mir ist heute beim Versuch eine \"Seite->Artikel\" ähnliche Struktur aufzubauen ein Fehler aufgefallen.\n\nIn der Database_Result Klasse wird beim Abfragen eines Wertes (_ _ get()) der Index kontrolliert.\n\n```\nif ($this->intIndex < 0)\n{\n\t$this->first();\n}\n```\n\nBei setzen eines Wertes (_ _ set()) sollte dies auch gemacht werden. \n\nAufgetreten ist der Fehler bei mir in der DC_Table auf Zeile 2423 (TL 2.6.7). Hier wird \"protected\" gesetzt, ohne dass vorher der Index kontrolliert wird (da scheinbar Zeile 2405 nicht greift).\n\n--- _Originally created on March 27th, 2009, at 10:36am (ID 621)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2342606,"number":621,"labels":[{"color":"bd2c00","name":"Defect","url":"https://api.github.com/repos/contao/issues/labels/Defect"},{"color":"e6e6e6","name":"framework","url":"https://api.github.com/repos/contao/issues/labels/framework"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Database::__set() sollte intIndex kontrollieren","html_url":"https://github.com/contao/issues/issues/621","closed_at":"2011-11-24T15:42:06Z","milestone":{"state":"closed","created_at":"2011-11-24T11:46:48Z","closed_issues":81,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":1,"description":"TYPOlight 2.7.0 (minor release)","title":"2.7.0","url":"https://api.github.com/repos/contao/issues/milestones/1","open_issues":0},"url":"https://api.github.com/repos/contao/issues/issues/621"},"action":"closed"}