Skip to content

Commit fa6f9e1

Browse files
author
Julien Pauli
committed
Fix wrong merge
1 parent bf72e13 commit fa6f9e1

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

ext/dom/document.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ static void _dom_document_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type
19911991
int is_valid;
19921992
char resolved_path[MAXPATHLEN + 1];
19931993

1994-
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Op|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAILURE) {
1994+
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAILURE) {
19951995
return;
19961996
}
19971997

ext/gd/gd.c

+2-8
Original file line numberDiff line numberDiff line change
@@ -3866,9 +3866,8 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int
38663866
#endif /* VIRTUAL_DIR */
38673867

38683868
PHP_GD_CHECK_OPEN_BASEDIR(fontname, "Invalid font filename");
3869-
3870-
#ifdef USE_GD_IMGSTRTTF
3871-
# if HAVE_GD_STRINGFTEX
3869+
3870+
#ifdef HAVE_GD_FREETYPE
38723871
if (extended) {
38733872
error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex);
38743873
}
@@ -4445,12 +4444,7 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type )
44454444
int x, y;
44464445
float x_ratio, y_ratio;
44474446
long ignore_warning;
4448-
<<<<<<< HEAD
44494447

4450-
=======
4451-
#endif
4452-
4453-
>>>>>>> f7d7bef... Fix #69719 - more checks for nulls in paths
44544448
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pplll", &f_org, &f_org_len, &f_dest, &f_dest_len, &height, &width, &threshold) == FAILURE) {
44554449
return;
44564450
}

0 commit comments

Comments
 (0)