mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 19:20:56 +01:00
keep old behavour if no contextual readme
This commit is contained in:
@@ -179,7 +179,8 @@ class Repository
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// No contextual readme, try to catch the main one if we are in deeper context
|
||||
if ($path != "") return $this->getReadme($repository, $branch, "");
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user