diff options
author | friendica <info@friendica.com> | 2014-10-13 21:24:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-13 21:24:06 -0700 |
commit | 79684e05cc884e311e99a8d5c48574e60a1d502b (patch) | |
tree | 998259491b8694c39a636e521a298331f8bfdf04 | |
parent | 19e1b95837f46bb2ed46978f5b96a3c4fe150c2a (diff) | |
download | volse-hubzilla-79684e05cc884e311e99a8d5c48574e60a1d502b.tar.gz volse-hubzilla-79684e05cc884e311e99a8d5c48574e60a1d502b.tar.bz2 volse-hubzilla-79684e05cc884e311e99a8d5c48574e60a1d502b.zip |
fix import sql error
-rw-r--r-- | mod/import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/import.php b/mod/import.php index 3cf114d66..44dfcc38d 100644 --- a/mod/import.php +++ b/mod/import.php @@ -344,7 +344,7 @@ function import_post(&$a) { unset($group['id']); $group['uid'] = $channel['channel_id']; dbesc_array($group); - $r = dbq("INSERT INTO group (`" + $r = dbq("INSERT INTO groups (`" . implode("`, `", array_keys($group)) . "`) VALUES ('" . implode("', '", array_values($group)) |