- Fixed: Some email roles would not get notified under certain circumstances because the list of users to notify was reset
- Fixed: Errors would occurr on installation due to a problem with not loading all the data at the right time
- Enhancement: The installer will now check to ensure that all the proper MySQL permissions are enabled
+- Fixed: A PHP warning could be generated due to passing an argument by reference (bug://report/78)
1.2.0 Beta 2
===============================
while ($bug = $db->fetch_array($favorites))
{
$funct->exec_swap_bg('altcolor', '');
- ProcessBugDataForDisplay(&$bug, $funct->bgcolour);
+ $bug = ProcessBugDataForDisplay($bug, $funct->bgcolour);
$bugs .= $sort->constructRow($bug);
}
require_once('./global.php');
require_once('./includes/class_sort.php');
+error_reporting(E_ALL & ~E_NOTICE);
+
if (!can_perform('canviewbugs'))
{
$message->errorPermission();
while ($bug = $db->fetch_array($bugs_fetch))
{
$funct->exec_swap_bg('altcolor', '');
- ProcessBugDataForDisplay(&$bug, $funct->bgcolour);
+ $bug = ProcessBugDataForDisplay($bug, $funct->bgcolour);
$bugs .= $sort->constructRow($bug);
}
while ($bug = $db->fetch_array($search))
{
$funct->exec_swap_bg('altcolor', '');
- ProcessBugDataForDisplay(&$bug, $funct->bgcolour);
+ $bug = ProcessBugDataForDisplay($bug, $funct->bgcolour);
$bugs .= $sort->constructRow($bug, "&hilight=$hilight");
}