Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning in issuse - list milestones #53

Closed
xeno010 opened this issue Feb 22, 2014 · 1 comment
Closed

PHP Warning in issuse - list milestones #53

xeno010 opened this issue Feb 22, 2014 · 1 comment

Comments

@xeno010
Copy link
Contributor

xeno010 commented Feb 22, 2014

Hello,

The warning: "Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\webseiten\MAB-LAB-master\pages\issues_milestones.inc.php on line 27". Only when milestones is empty.

The function "fetchMilestones" return a array or null. In "issues_milestones.inc.php" is not tested of null.

I change the line 14 in:

$milesArr = DbHelper::fetchMilestones(($mSelectedAppId>0?MILE_APP_ID.'='.$mSelectedAppId:null));
$milesArr = $milesArr === null ? array() : $milesArr;

bug1

Medialoha added a commit that referenced this issue Feb 22, 2014
@Medialoha
Copy link
Owner

Hello,

Just committed a fix. Thanks

@Medialoha Medialoha added this to the MABL 1.3.1 Helen milestone Feb 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants