diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-15 11:51:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-15 11:51:27 +0000 |
commit | 00deb1df3e63cb6cd4f76272f318d5704b79b4f3 (patch) | |
tree | a116fce0b50ed87266f983f2256a8123549cf5fc /includes/database | |
parent | 51dc073b02c3fe544e97ec32518557f99d62a6ba (diff) | |
download | brdo-00deb1df3e63cb6cd4f76272f318d5704b79b4f3.tar.gz brdo-00deb1df3e63cb6cd4f76272f318d5704b79b4f3.tar.bz2 |
- Patch #770668 by Damien Tournoud: undefined in InsertQuery::__toString().
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/query.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/query.inc b/includes/database/query.inc index c3f5acf39..55eb2c568 100644 --- a/includes/database/query.inc +++ b/includes/database/query.inc @@ -498,7 +498,7 @@ class InsertQuery extends Query { $insert_fields = array_merge($this->defaultFields, $this->insertFields); if (!empty($this->fromQuery)) { - return "INSERT $delay INTO {" . $this->table . '} (' . implode(', ', $insert_fields) . ') ' . $this->fromQuery; + return "INSERT INTO {" . $this->table . '} (' . implode(', ', $insert_fields) . ') ' . $this->fromQuery; } // For simplicity, we will use the $placeholders array to inject |