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:
stan 2010-02-15 17:11:37 +00:00
parent 6f464e7152
commit 63988218a7
1 changed files with 2 additions and 2 deletions

View File

@ -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 )
{
?>