Indefero

Indefero Commit Details


Date:2011-10-03 17:37:28 (13 years 2 months ago)
Author:Thomas Keller
Branch:develop, feature.diff-whitespace, feature.search-filter, feature.wiki-default-page, release-1.2, release-1.3
Commit:160d11b89be35086ae0e132c4a1f090ad3ceb767
Parents: 85978a4d18c0d86a62022d28858ae361f7d33bd6
Message:Properly initialize arrays with 0 for IN conditions

Changes:

File differences

src/IDF/Views/Issue.php
477477
478478
479479
480
480
481481
482482
483483
......
495495
496496
497497
498
498
499499
500500
501501
// and other things in the next round
$results = IDF_Search::mySearch($query, $prj, 'IDF_Issue');
$issue_ids = array();
$issue_ids = array(0);
foreach ($results as $result) {
$issue_ids[] = $result['model_id'];
}
// we unfortunately loose the original sort order,
// so we manually have to apply it here again
$sorted_issues = new ArrayObject();
$filtered_issue_ids = array();
$filtered_issue_ids = array(0);
foreach ($issue_ids as $issue_id) {
foreach ($issues as $issue) {
if ($issue->id != $issue_id)

Archive Download the corresponding diff file

Page rendered in 0.07402s using 13 queries.