Skip to content

Commit 4e544f0

Browse files
authored
Merge pull request #11 from codebard/minor_fix
PHP warning fix.
2 parents e220a9d + f0d1f8a commit 4e544f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ public function upgrade_c($v1,$v2)
11391139
$upgrader_object = $v1;
11401140
$options = $v2;
11411141

1142-
if($upgrader_object->result['destination_name']!=$this->internal['id'])
1142+
if( isset($upgrader_object->result['destination_name']) AND $upgrader_object->result['destination_name']!=$this->internal['id'])
11431143
{
11441144
return;
11451145
}

readme.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ To be updated
6262
= 2.1.7 =
6363

6464
* Added alt tags and aria labels for screen readers to call to action button under posts and sitebar widgets and forms for accessibility.
65+
* Fixed a PHP warning
6566

6667
= 2.1.6 =
6768

@@ -186,6 +187,7 @@ To be updated
186187
= 2.1.7 =
187188

188189
* Added alt tags and aria labels for screen readers to call to action button under posts and sitebar widgets and forms for accessibility
190+
* Fixed a PHP warning
189191

190192
= 2.1.6 =
191193

0 commit comments

Comments
 (0)