mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fix the error.
This commit is contained in:
committed by
GitHub
parent
da7d046f98
commit
7ce48884f2
@@ -561,7 +561,7 @@ function has_tree_been_edited($payload, $tree){
|
||||
get_diff($payload);
|
||||
//find things in the _maps/map_files tree
|
||||
//e.g. diff --git a/_maps/map_files/Cerestation/cerestation.dmm b/_maps/map_files/Cerestation/cerestation.dmm
|
||||
return $github_diff !== FALSE && preg_match('/^diff --git a\/' . preg_quote($tree, '/') . '/m') !== FALSE;
|
||||
return $github_diff !== FALSE && preg_match('/^diff --git a\/' . preg_quote($tree, '/') . '/m', $github_diff) !== FALSE;
|
||||
}
|
||||
|
||||
$no_changelog = false;
|
||||
|
||||
Reference in New Issue
Block a user