aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-09 12:56:11 -0800
committerzotlabs <mike@macgirvin.com>2017-12-09 12:56:11 -0800
commitad6cb63e0762a3af3ee0340bd3df80e482c977ef (patch)
tree3460cf2349628a1c05f644b5525b8bddca844c15
parentadec67d5fa616c23c6265233f2a19d94d09df2e6 (diff)
downloadvolse-hubzilla-ad6cb63e0762a3af3ee0340bd3df80e482c977ef.tar.gz
volse-hubzilla-ad6cb63e0762a3af3ee0340bd3df80e482c977ef.tar.bz2
volse-hubzilla-ad6cb63e0762a3af3ee0340bd3df80e482c977ef.zip
xlink_rating_text default value
-rw-r--r--include/socgraph.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 3c7a893c6..26446d9c7 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -178,9 +178,11 @@ function poco_load($xchan = '', $url = null) {
);
if(! $r) {
- q("insert into xlink ( xlink_xchan, xlink_link, xlink_updated, xlink_static ) values ( '%s', '%s', '%s', 0 ) ",
+ q("insert into xlink ( xlink_xchan, xlink_link, xlink_rating, xlink_rating_text, xlink_updated, xlink_static ) values ( '%s', '%s', %d, '%s', '%s', 0 ) ",
dbesc($xchan),
dbesc($hash),
+ intval(0),
+ dbesc(''),
dbesc(datetime_convert())
);
}