Skip to content

Commit

Permalink
Fix ext/sodium display in phpinfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyK authored and krakjoe committed Jul 25, 2017
1 parent 7453d23 commit 66729ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/sodium/libsodium.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,8 @@ PHP_MINFO_FUNCTION(sodium)
{
php_info_print_table_start();
php_info_print_table_header(2, "sodium support", "enabled");
php_info_print_table_header(2, "libsodium headers version", SODIUM_VERSION_STRING);
php_info_print_table_header(2, "libsodium library version", sodium_version_string());
php_info_print_table_row(2, "libsodium headers version", SODIUM_VERSION_STRING);
php_info_print_table_row(2, "libsodium library version", sodium_version_string());
php_info_print_table_end();
}

Expand Down

0 comments on commit 66729ae

Please sign in to comment.