# HG changeset patch # User Dan Fuhry # Date 1301591396 14400 # Node ID 90e2064c8ea23a8497ce1e4175cdb68a8d4415cb # Parent d1d64b373878d4c6a7f0f32404a37e3ed47f2b74 Fixed a typo in which() diff -r d1d64b373878 -r 90e2064c8ea2 includes/functions.php --- 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' );