Skip to content

Commit

Permalink
CID 158614, 158615
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Jul 28, 2017
1 parent 37f5693 commit eff7398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static zend_class_entry *runtime_exception_ce = NULL;
PHP_REDIS_API zend_class_entry *
redis_get_exception_base(TSRMLS_D)
{
if (runtime_exception_ce = NULL) {
if (runtime_exception_ce == NULL) {
#if HAVE_SPL
runtime_exception_ce = zend_hash_str_find_ptr(CG(class_table), "RuntimeException", sizeof("RuntimeException") - 1);
#else
Expand Down

0 comments on commit eff7398

Please sign in to comment.