View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013150 | mantisbt | time tracking | public | 2011-07-16 16:22 | 2014-09-23 18:05 |
Reporter | rombert | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.6 | ||||
Target Version | 1.2.6 | Fixed in Version | 1.2.6 | ||
Summary | 0013150: Getting time tracking when no time tracking notes exist generates warning | ||||
Description | SYSTEM WARNING: array_multisort() [function.array-multisort]: Argument 0000001 is expected to be an array or a sort flag The magic of git bisect points to c4378b821a54d7ef30184d3144459b18673c1f42 is the first bad commit | ||||
Tags | No tags attached. | ||||
Damien, can you please take a look for this before 1.2.6 goes out? Thanks, Robert |
|
Ooops... Thanks Robert, good catch ! I omitted this case in my tests. Most likely the error is due to the sort array not being initialized when the function is called. I'll have a look. |
|
Thanks for the quick turnaround! |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master 570660f5 2011-07-17 03:22 Details Diff |
Fix 0013150: Getting time tracking info when none exists generates warning This was caused by sort key arrays not being initialized before the foreach loop, resulting in a call to array_multisort with an undefined variable. Bug was introduced by commit c4378b821a54d7ef30184d3144459b18673c1f42 |
Affected Issues 0013150 |
|
mod - billing_inc.php | Diff File | ||
mod - bugnote_stats_inc.php | Diff File | ||
MantisBT: master-1.2.x a8bc7ff0 2011-07-17 03:22 Details Diff |
Fix 0013150: Getting time tracking info when none exists generates warning This was caused by sort key arrays not being initialized before the foreach loop, resulting in a call to array_multisort with an undefined variable. Bug was introduced by commit c4378b821a54d7ef30184d3144459b18673c1f42 |
Affected Issues 0013150 |
|
mod - billing_inc.php | Diff File | ||
mod - bugnote_stats_inc.php | Diff File |