From eea39c6ee2e5634ef6de601ab7e559347bb5db39 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 5 Nov 2003 15:06:44 +0000 Subject: [PATCH] Corrected overwite git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@681 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zm_funcs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/zm_funcs.php b/web/zm_funcs.php index 1a69fafec..ed5b74f9c 100644 --- a/web/zm_funcs.php +++ b/web/zm_funcs.php @@ -364,7 +364,7 @@ function zmaCheck( $monitor ) function createVideo( $event, $rate, $scale, $overwrite=0 ) { $command = ZM_PATH_BIN."/zmvideo.pl -e $event[Id] -r $rate -s $scale"; - if ( $overwite ) + if ( $overwrite ) $command .= " -o"; $result = exec( $command, $output, $status ); return( $status?"":rtrim($result) );