aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-07 20:44:44 -0700
committerzotlabs <mike@macgirvin.com>2017-06-07 20:44:44 -0700
commit4f3b1edf9d05830a6851f4b6570b8a0ec836b6ab (patch)
treef2206fc7360319c64c20ff59d78a65cc1f1eac63
parent2e692fca93158748f99eab651bd0782b27044b8d (diff)
downloadvolse-hubzilla-4f3b1edf9d05830a6851f4b6570b8a0ec836b6ab.tar.gz
volse-hubzilla-4f3b1edf9d05830a6851f4b6570b8a0ec836b6ab.tar.bz2
volse-hubzilla-4f3b1edf9d05830a6851f4b6570b8a0ec836b6ab.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 a8a70a5f2..277d6618c 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1255,7 +1255,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);
}
}
}