Skip to content

Commit fdaa31e

Browse files
authored
Initialize className variable with an empty string (#2002)
1 parent 3a0b68f commit fdaa31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Model/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ public function getGroupedClassName($groupType, $classId, $groupRootNode = null)
12711271
$config = $this->_xml->global->{$groupType.'s'}->{$group};
12721272

12731273
// First - check maybe the entity class was rewritten
1274-
$className = null;
1274+
$className = '';
12751275
if (isset($config->rewrite->$class)) {
12761276
$className = (string)$config->rewrite->$class;
12771277
} else {

0 commit comments

Comments
 (0)