Changed use of deprecated split function to explode

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3023 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2010-02-15 17:11:17 +00:00
parent 6659797e7d
commit 6f464e7152
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ if ( isset( $_REQUEST['newMonitor'] ) )
else
{
$newMonitor = $monitor;
$newMonitor['Triggers'] = split( ',', isset($monitor['Triggers'])?$monitor['Triggers']:"" );
$newMonitor['Triggers'] = explode( ',', isset($monitor['Triggers'])?$monitor['Triggers']:"" );
if ( ZM_OPT_X10 )
$newX10Monitor = $x10Monitor;
}
@ -548,7 +548,7 @@ switch ( $tab )
<?php
$monitors = dbFetchAll( "select Id,Name from Monitors order by Sequence asc" );
if ( !empty($newMonitor['LinkedMonitors']) )
$monitorIds = array_flip( split( ',', $newMonitor['LinkedMonitors'] ) );
$monitorIds = array_flip( explode( ',', $newMonitor['LinkedMonitors'] ) );
else
$monitorIds = array();
foreach ( $monitors as $monitor )