Changed use of deprecated split function to explode
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3024 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
6f464e7152
commit
63988218a7
|
@ -118,7 +118,7 @@ if ( $tab == "users" )
|
|||
$userMonitors = array();
|
||||
if ( !empty($row['MonitorIds']) )
|
||||
{
|
||||
foreach ( split( ",", $row['MonitorIds'] ) as $monitorId )
|
||||
foreach ( explode( ",", $row['MonitorIds'] ) as $monitorId )
|
||||
{
|
||||
$userMonitors[] = $monitors[$monitorId]['Name'];
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ else
|
|||
?>
|
||||
<td class="nowrap">
|
||||
<?php
|
||||
$options = split( "\|", $value['Hint'] );
|
||||
$options = explode( '|', $value['Hint'] );
|
||||
if ( count( $options ) > 3 )
|
||||
{
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue