{"issue":{"state":"open","created_at":"2011-11-29T09:29:59Z","updated_at":"2011-11-29T09:30:01Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"Folgender Code wird nicht von der ->set() Methode richtig verarbeitet:\n`$this->Database->prepare('\n\t\t\t\tINSERT INTO\n\t\t\t\t\ttl_table\n\t\t\t\t%s\n\t\t\t')->set(array('pid' => $pid, 'member' => $intMemberId, 'tstamp' => time()))->execute();`\nDie Query sieht nach dem Aufruf von ->set() genau so, wie sie in ->prepare() übergeben wurde, aus.\nDer Fehler liegt an den zusätzlichen Leerzeichen/Zeilenumbrüchen, denn folgendes funktioniert:\n`$this->Database->prepare('INSERT INTO tl_table %s')->set(array('pid' => $pid, 'member' => $intMemberId, 'tstamp' => time()))->execute();`\n\n--- _Originally created by backbone on July 23rd, 2010, at 05:55am (ID 2338)_","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"},"number":2338,"id":2381835,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/test/labels/Defect"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/framework"}],"title":"Verarbeitungsfehler in Methode Database_Statement->set()","closed_at":null,"html_url":"https://github.com/contao/test/issues/2338","url":"https://api.github.com/repos/contao/test/issues/2338","milestone":{"state":"open","created_at":"2011-11-29T05:27:04Z","closed_issues":34,"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":31,"title":"2.9.1","description":"Contao 2.9.1 (maintenance release)","url":"https://api.github.com/repos/contao/test/milestones/31","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-29T09:30:01Z","updated_at":"2011-11-29T09:30:01Z","user":{"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"},"body":"@ = einzelne Wörter\npre = Code\n\n--- _Originally created on July 23rd, 2010, at 03:27pm_","id":2924959,"url":"https://api.github.com/repos/contao/test/issues/comments/2924959"}}