Fixing typos
This commit is contained in:
parent
d9243e3108
commit
8febc2c08d
|
@ -160,7 +160,7 @@ function bhl_proj()
|
|||
|
||||
function _bhl_make_abs_path($proj_file, $path)
|
||||
{
|
||||
if($path[0] == '.')
|
||||
if($path && $path[0] == '.')
|
||||
return dirname($proj_file) . '/' . $path;
|
||||
else
|
||||
return $path;
|
||||
|
@ -215,7 +215,7 @@ function bhl_run($debug = true, $force = false, $exit_on_err = true)
|
|||
|
||||
if($ret_var != 0)
|
||||
{
|
||||
bhl_handle_error_result($ret_out, $err_file, $exit_on_err);
|
||||
bhl_handle_error_result($ret_out, bhl_proj()->error_file, $exit_on_err);
|
||||
if(!$exit_on_err)
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue