From 207845410b646146f129559dc4d3ee6f22f64c73 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 14 Jul 2002 11:48:45 +0000 Subject: [PATCH] MFZE1 --- Zend/zend_operators.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index b7857a2d03..fef83c6d48 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1451,7 +1451,7 @@ ZEND_API int increment_function(zval *op1) { switch (op1->type) { case IS_BOOL: - if (!op->value.lval) { + if (!op1->value.lval) { op1->value.lval = 1; } break; @@ -1518,7 +1518,7 @@ ZEND_API int decrement_function(zval *op1) switch (op1->type) { case IS_BOOL: - if (op->value.lval) { + if (op1->value.lval) { op1->value.lval = 0; } else { op1->value.lval = 1; -- 2.50.1