unescaped apostrophe in single quoted string
This commit is contained in:
parent
652507dd50
commit
af5666b791
2
boot.php
2
boot.php
@ -1258,7 +1258,7 @@ function profile_load(&$a, $nickname, $profile = 0) {
|
|||||||
require_once('include/permissions.php');
|
require_once('include/permissions.php');
|
||||||
if(! perm_is_allowed($user[0]['channel_id'],$observer['xchan_hash'],'view_profile')) {
|
if(! perm_is_allowed($user[0]['channel_id'],$observer['xchan_hash'],'view_profile')) {
|
||||||
// permission denied
|
// permission denied
|
||||||
notice( t(' Sorry, you don't have the permission to view this profile. ') . EOL);
|
notice( t(' Sorry, you don\'t have the permission to view this profile. ') . EOL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user