Fixed: No owner specified notices
author Tom van der Lee
()
committer Tom van der Lee
()
commit 57847bb57eff627be2d959c91941fcadb97ed78b
tree 751ec22d2df8954452e56261953f327c89730c75
parent ae81282bfde75bd413669ddbe7f1a0ecd9601ea3
Fixed: No owner specified notices

When no owner is specified in the line, PHP will return a notice that it cannot read $regs[2] (it does not exist).
It is not a critical bug, but it is very annoying.

I fixed this behavior by first checking if $regs[2] isset.
include/git/projectlist/ProjectListFile.class.php
comments