aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-07 20:44:44 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-08 10:26:07 +0200
commit912be5a792b286f844a2c933fd5f7775a34887a4 (patch)
treecb60a8164d5afebd59e2d0c3e29642a2a1a285d4
parent30358100ab729e7ce7bd3f05cc64a391239906e0 (diff)
downloadvolse-hubzilla-912be5a792b286f844a2c933fd5f7775a34887a4.tar.gz
volse-hubzilla-912be5a792b286f844a2c933fd5f7775a34887a4.tar.bz2
volse-hubzilla-912be5a792b286f844a2c933fd5f7775a34887a4.zip
it appears to also work a bit better if you don't use imaginary function names
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 01f356f2f..faab29bc0 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1264,7 +1264,7 @@ function sync_files($channel, $files) {
$r = dbq("update photo set " . $str . " where id = " . intval($exists[0]['id']) );
}
else {
- create_attach_from_array('photo',$p);
+ create_table_from_array('photo',$p);
}
}
}