Skip to content

Commit a3f36fd

Browse files
author
rafageist
committed
update
1 parent ef93759 commit a3f36fd

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sep 21, 2019
2+
--------------------------
3+
- `release` version 5.1.5
4+
- `fix` div::varExists() method
5+
16
Ago 23, 2019
27
--------------------------
38
- `release` version 5.1.4

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Div PHP Template Engine 5.1.4
1+
# Div PHP Template Engine 5.1.5
22

33
by Rafa Rodríguez (rafageist@hotmail.com)
44

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"code generator"
88
],
99
"homepage": "https://divengine.com",
10-
"version": "5.1.4",
10+
"version": "5.1.5",
1111
"authors": [
1212
{
1313
"name": "Rafa Rodriguez",

src/div.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @package divengine/div
2727
* @author Rafa Rodriguez @rafageist [https://rafageist.github.io]
28-
* @version 5.1.4
28+
* @version 5.1.5
2929
*
3030
* @link https://divengine.com/div
3131
* @link https://github.com/divengine/div
@@ -737,7 +737,7 @@ class div
737737
// ----- Internals -----
738738

739739
// current version of Div
740-
private static $__version = '5.1.4';
740+
private static $__version = '5.1.5';
741741

742742
// name of the super class
743743
private static $__super_class;
@@ -9117,7 +9117,7 @@ final public static function varExists($var, &$items = null)
91179117
return array_key_exists($var, $items);
91189118
}
91199119
if (is_object($items)) {
9120-
return property_exists($var, $items);
9120+
return property_exists($items, $var);
91219121
}
91229122
} else {
91239123
$temp_sub_var = $sub_vars[0];

0 commit comments

Comments
 (0)