diff options
| -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"> |
