1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Bbcode code optimization and test.

This commit is contained in:
Cameron
2020-12-15 08:59:31 -08:00
parent 44e260b121
commit f80d611202
10 changed files with 378 additions and 256 deletions

View File

@@ -1422,7 +1422,7 @@ $columnInfo = array(
</tr>";
} // End of mirror-related stuff
$download_author = $subAction != "edit" && $download_author == "" ? USERNAME : $download_author;//TODO what if editing an no author specified
$download_author = ($subAction !== "edit" && empty($download_author)) ? USERNAME : $download_author;//TODO what if editing an no author specified
$download_author_email = $subAction != "edit" && $download_author_email == "" ? USEREMAIL : $download_author_email;
$text .= "
</table>