#1459: Undefined Variable in Search/Scorer.php
-----------------------------------+----------------------------------------
Reporter: gnat | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone:
Component: Attributes | Version: 1.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
$component is undefined on line 52 of Search/Scorer.php
{{{
public function process()
{
foreach ($this->_resultSet as $mainRow) {
if (isset($mainRow[$component])) { <<<---- undefined.
if ( ! is_array($mainRow[$component])) {
throw new Doctrine_Search_Exception('Wrong data type
in result set.');
}
foreach ($mainRow[$component] as $indexRow) {
}
}
}
}
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1459>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---