includes/functions.php
changeset 1341 90e2064c8ea2
parent 1339 03c5b9e8e02a
child 1355 12c23b83c79d
--- a/includes/functions.php	Thu Feb 10 21:52:54 2011 -0500
+++ b/includes/functions.php	Thu Mar 31 13:09:56 2011 -0400
@@ -5321,7 +5321,7 @@
 function which($executable)
 {
 	$path = get_system_path();
-	if ( empty($paths) )
+	if ( empty($path) )
 		return false;
 	
 	$win32 = ( PHP_OS == 'WINNT' || PHP_OS == 'WIN32' );