diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-04-13 23:14:30 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2017-04-13 23:14:30 -0400 |
| commit | 035504a16c95ad55760f8ec831e9d19e120d3657 (patch) | |
| tree | 7892982c5a9d1b93311df2c1dc629466732d5a88 | |
| parent | 36e4fae6958796419dcff63f323735dc66aabdcd (diff) | |
| download | bulletin-035504a16c95ad55760f8ec831e9d19e120d3657.tar.gz | |
Fixed chat titles
| -rw-r--r-- | dash/ads.php | 2 | ||||
| -rw-r--r-- | dash/profile.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dash/ads.php b/dash/ads.php index f0f6836..f57d950 100644 --- a/dash/ads.php +++ b/dash/ads.php @@ -30,7 +30,7 @@ if ($b_user['type'] == 'EMPLOYER' && $b_user['id'] == $row['uid']) echo ' $phonelink = '+'.preg_replace('/[^0-9]/', '', $row['phone']); ?> <p id="ephone"><a href="tel:<?=$phonelink;?>"><?=htmlentities($row['phone']);?></a></p> - <p id="echat"><a href="#" onclick="bullechat.gui.create('<?=htmlentities($row['email'], ENT_HTML401 | ENT_QUOTES);?>'); return false;">Open a Chat</a></p> + <p id="echat"><a href="#" onclick="bullechat.gui.create('<?=htmlentities($row['email'], ENT_HTML401 | ENT_QUOTES).'\', \''.htmlentities($row['name'], ENT_HTML401 | ENT_QUOTES);?>'); return false;">Open a Chat</a></p> </div> <div id="fjfright"> <h4>Job Details</h4> diff --git a/dash/profile.php b/dash/profile.php index d7aa997..d8e4af3 100644 --- a/dash/profile.php +++ b/dash/profile.php @@ -43,7 +43,7 @@ $phonelink = '+'.preg_replace('/[^0-9]/', '', $user['phone']); <p>Zipcode: <?=htmlentities($user['zipcode']);?></p> <br /> <h4>Chat</h4> - <p><a href="#" onclick="bullechat.gui.create('<?=htmlentities($user['email'], ENT_HTML401 | ENT_QUOTES);?>'); return false;">Open a Chat</a></p> + <p><a href="#" onclick="bullechat.gui.create('<?=htmlentities($user['email'], ENT_HTML401 | ENT_QUOTES).'\', \''.htmlentities($user['name'], ENT_HTML401 | ENT_QUOTES);?>'); return false;">Open a Chat</a></p> </div> </div> <div id="proreviews"> |
