Update user_dashboard.php
This commit is contained in:
parent
eca1268e10
commit
4bcc371237
|
|
@ -1125,9 +1125,8 @@
|
|||
|
||||
//registration count
|
||||
if ($fp && file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/registrations/")) {
|
||||
$tmp = event_socket_request($fp, 'api sofia xmlstatus profile internal reg');
|
||||
$registrations = substr_count($tmp, '<registration>');
|
||||
$registrations = (is_numeric($registrations)) ? $registrations : 0;
|
||||
$registration = new registrations;
|
||||
$registrations = $registration->count();
|
||||
$tr_link = "href='".PROJECT_PATH."/app/registrations/registrations.php'";
|
||||
$hud[$n]['html'] .= "<tr ".$tr_link.">\n";
|
||||
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'><a ".$tr_link.">".$text['label-registrations']."</a></td>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue