summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-21 04:40:12 -0700
committerAndrew Dolgov <[email protected]>2013-04-21 04:40:12 -0700
commit84a463ecb8ce7499e28c21233b2b1dfdf5c2d611 (patch)
treec9eb04c74ade998fee37fd5328b5e355779d26d3
parentf6299a731cbac2ba9743c5279ce0abaf4621b12f (diff)
parentc6c968b042f4853e3a069bb75be96bd919630275 (diff)
Merge pull request #165 from fschlich/master
googlereaderimport: actually pass $link to create_article()
-rw-r--r--plugins/googlereaderimport/init.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/googlereaderimport/init.php b/plugins/googlereaderimport/init.php
index be6b81981..2e22161b9 100644
--- a/plugins/googlereaderimport/init.php
+++ b/plugins/googlereaderimport/init.php
@@ -164,7 +164,7 @@ class GoogleReaderImport extends Plugin {
$processed++;
$imported += (int) $this->create_article($owner_uid, $guid, $title,
- $updated, $content, $author, $sql_set_marked, $tags,
+ $link, $updated, $content, $author, $sql_set_marked, $tags,
$orig_feed_data);
if ($file && $processed % 25 == 0) {
@@ -196,7 +196,7 @@ class GoogleReaderImport extends Plugin {
}
// expects ESCAPED data
- private function create_article($owner_uid, $guid, $title, $updated, $content, $author, $marked, $tags, $orig_feed_data) {
+ private function create_article($owner_uid, $guid, $title, $link, $updated, $content, $author, $marked, $tags, $orig_feed_data) {
if (!$guid) $guid = sha1($link);