aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-05-19 21:09:35 +0200
committerMario Vavti <mario@mariovavti.com>2015-05-19 21:09:35 +0200
commit3471e98989866b47a5f5b7fe24bbfb2862f91379 (patch)
tree2bee66fb914f5a083eb286680fce4f08951768a2 /include/bbcode.php
parent5641d81f03a1d475e0aef0385a9ad856b7a83b74 (diff)
downloadvolse-hubzilla-3471e98989866b47a5f5b7fe24bbfb2862f91379.tar.gz
volse-hubzilla-3471e98989866b47a5f5b7fe24bbfb2862f91379.tar.bz2
volse-hubzilla-3471e98989866b47a5f5b7fe24bbfb2862f91379.zip
remove dbg code
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 9bb6cf047..c6d756cdd 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -173,7 +173,7 @@ function bb_parse_app($match) {
function bb_parse_element($match) {
$j = json_decode(base64url_decode($match[1]),true);
- print_r($j);
+
if ($j) {
$o = EOL . '<a href="#" onclick="importElement(\'' . $match[1] . '\'); return false;" >' . t('Install ' . $j['type'] . ' element: ') . $j['pagetitle'] . '</a>' . EOL;
}