return;
}
$site = $sites[0];
- if ($site['enabled'] && $site['ext_consortium_id'] == $PENDING_CONSORTIUM_ID) {
+ if ($site['enabled'] && $site['ext_consortium_id'] === $PENDING_CONSORTIUM_ID) {
print("<p class='plc-warning'> This site is already enabled </p>");
return;
}
if ( $local_peer ) {
// pending site
global $PENDING_CONSORTIUM_ID;
- if ( $ext_consortium_id == $PENDING_CONSORTIUM_ID) {
+ if ( $ext_consortium_id === $PENDING_CONSORTIUM_ID) {
if ( ! $enabled )
plc_warning ("This site is under pending registration - Please visit " .
href (l_sites_pending(),"this page") .
if ( ! $site['enabled'])
$messages [] = "Not enabled";
global $PENDING_CONSORTIUM_ID;
- if ( $site['ext_consortium_id'] == $PENDING_CONSORTIUM_ID )
+ if ( $site['ext_consortium_id'] === $PENDING_CONSORTIUM_ID )
$messages [] = "Pending registration";
// check that site has at least a PI and a tech