Skip to content

Commit

Permalink
fix invalid assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris-de committed Oct 3, 2023
1 parent 7cf20b8 commit c0d3b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/body.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function is_in_album_dir($relative_path) {
// (This method is deprecated as of 5.3, so only call it if the function exists)
if (function_exists('set_magic_quotes_runtime')) {
/** @noinspection PhpDeprecationInspection */
assert(@set_magic_quotes_runtime(false) == TRUE);
@set_magic_quotes_runtime(false);
}


Expand Down

0 comments on commit c0d3b61

Please sign in to comment.