diff options
author | friendica <info@friendica.com> | 2013-09-02 16:01:29 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-02 16:01:29 -0700 |
commit | 7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f (patch) | |
tree | b11ac8cfaaec527f8c78a128c6382ef75a405a5a /include | |
parent | c8461e703884735a604fb405d3db43f68cf5909c (diff) | |
download | volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.tar.gz volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.tar.bz2 volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.zip |
fix webpage storage
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 2 | ||||
-rwxr-xr-x | include/text.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index c40691bba..8cee4f34f 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1055,7 +1055,7 @@ function status_editor($a,$x,$popup=false) { '$return_path' => $a->query_string, '$action' => $a->get_baseurl(true) . '/item', '$share' => (x($x,'button') ? $x['button'] : t('Share')), - '$webpage' => (x($x,'webpage') ? '1' : ''), + '$webpage' => (x($x,'webpage') ? $x['webpage'] : ''), '$placeholdpagetitle' => t('Page link title'), '$pagetitle' => (x($x,'pagetitle') ? $x['pagetitle'] : ''), '$upload' => t('Upload photo'), diff --git a/include/text.php b/include/text.php index 71374f1f9..b0b519851 100755 --- a/include/text.php +++ b/include/text.php @@ -92,7 +92,7 @@ function z_input_filter($channel_id,$s,$type = 'text/bbcode') { $r = q("select account_id, account_roles from account left join channel on channel_account_id = account_id where channel_id = %d limit 1", intval($channel_id) ); - if($r && ($r[0]['account_roles'] & ACCOUNT_ROLE_ALLOWEXEC)) { + if($r && ($r[0]['account_roles'] & ACCOUNT_ROLE_ALLOWCODE)) { if(local_user() && (get_account_id() == $r[0]['account_id'])) { return $s; } |