I was tying to change default git branch and got this error message.
Strict warning: Only variables should be passed by reference in versioncontrol_project_git_default_branch_form_submit() (line 53 of /var/www/git-dev.drupal.org/htdocs/sites/all/modules/versioncontrol_project/versioncontrol_project_git/versioncontrol_project_git.pages.inc).

Comments

chi’s picture

Status: Active » Needs review
StatusFileSize
new790 bytes
marvil07’s picture

Status: Needs review » Needs work

@Chi: Thanks, this is probably old code. Now we have a VersioncontrolRepository::loadBranch() method too, would you like to change the call?

chi’s picture

Status: Needs work » Needs review
StatusFileSize
new755 bytes

I didn't test it manually

marvil07’s picture

chi’s picture

Status: Needs work » Needs review
StatusFileSize
new754 bytes
marvil07’s picture

Status: Needs review » Fixed

Thank you!

Added to 7.x-1.x.

Automatically closed -- issue fixed for 2 weeks with no activity.