Skip to content
Browse files

Fix access of undefined variable

No runtime effect as this code branch is not used at the moment.
  • Loading branch information...
1 parent 79c7895 commit 7d6fcd12592aaaffcf6c483fbed32c85d70b2006 @atrol atrol committed Oct 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/utility_api.php
View
2 core/utility_api.php
@@ -244,7 +244,7 @@ function getClassProperties($p_classname, $p_type='public', $p_return_object = f
$t_props_arr[$t_name] = true;
}
if ( $p_include_parent ) {
- if($t_parentclass = $ref->getParentClass()){
+ if($t_parentclass = $t_ref->getParentClass()){
$t_parent_props_arr = getClassProperties($t_parentclass->getName());//RECURSION
if(count($t_parent_props_arr) > 0)
$t_props_arr = array_merge($t_parent_props_arr, $t_props_arr);

0 comments on commit 7d6fcd1

Please sign in to comment.
Something went wrong with that request. Please try again.