mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Fixes the other thing
This commit is contained in:
committed by
GitHub
parent
7ce48884f2
commit
3d6e9a72c1
@@ -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', $github_diff) !== FALSE;
|
||||
return ($github_diff !== FALSE) && (preg_match('/^diff --git a\/' . preg_quote($tree, '/') . '/m', $github_diff) !== 0);
|
||||
}
|
||||
|
||||
$no_changelog = false;
|
||||
|
||||
Reference in New Issue
Block a user