diff options
-rw-r--r-- | build/license.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/license.php b/build/license.php index cd043498c49..5ada91a0f33 100644 --- a/build/license.php +++ b/build/license.php @@ -154,7 +154,12 @@ With help from many libraries and frameworks including: } else { $license = str_replace('@AUTHORS@', $authors, $this->licenseText); } - $license = str_replace('@COPYRIGHT@', $copyrightNotices, $license); + + if ($copyrightNotices === '') { + $license = str_replace('@COPYRIGHT@', ' *', $license); + } else { + $license = str_replace('@COPYRIGHT@', $copyrightNotices, $license); + } $source = $this->eatOldLicense($source); $source = "<?php" . PHP_EOL . $license . PHP_EOL . $source; |