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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user