aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Editblock.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-14 19:56:04 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-14 19:56:04 -0400
commiteeaafe9f3918661022b465fe0522a3f0e44065b0 (patch)
treeb0e2e941b670419950630a4cfc2b0078da69b502 /Zotlabs/Module/Editblock.php
parent6430a232f88ed214997d7704c18aead873094a0f (diff)
parent0ef2622621867fa197988974b47eff85f20a80e7 (diff)
downloadvolse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.tar.gz
volse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.tar.bz2
volse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.zip
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'Zotlabs/Module/Editblock.php')
-rw-r--r--Zotlabs/Module/Editblock.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Editblock.php b/Zotlabs/Module/Editblock.php
index fb86557f2..1d6ef7a0a 100644
--- a/Zotlabs/Module/Editblock.php
+++ b/Zotlabs/Module/Editblock.php
@@ -85,11 +85,11 @@ class Editblock extends \Zotlabs\Web\Controller {
intval($owner)
);
if($itm) {
- $item_id = q("select * from item_id where service = 'BUILDBLOCK' and iid = %d limit 1",
+ $item_id = q("select * from iconfig where cat = 'system' and k = 'BUILDBLOCK' and iid = %d limit 1",
intval($itm[0]['id'])
);
if($item_id)
- $block_title = $item_id[0]['sid'];
+ $block_title = $item_id[0]['v'];
}
else {
notice( t('Item not found') . EOL);