Skip to content

Commit

Permalink
fixed #12 krisp_open has Deprecated issue on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Joungkyun committed Feb 13, 2022
1 parent 4abb961 commit 0c9ca6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ To install this extension type the following:

This module requires these libraries:

* PHP <= 8.0
* PHP >= 7
* If you want to PHP <= 5, use [v2 branch](https://github.com/OOPS-ORG-PHP/mod_krisp/tree/v2).
* [libkrisp](https://github.com/Joungkyun/libkrisp) 3.1 or after.

Expand Down
4 changes: 2 additions & 2 deletions package.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
-
- #12 krisp_open has Deprecated issue on PHP 8.1
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -68,7 +68,7 @@
<version><release>3.0.6</release><api>2.1.2</api></version>
<date>@curdate@</date>
<notes>
-
- #12 krisp_open has Deprecated issue on PHP 8.1
</notes>
</release>
<release>
Expand Down
2 changes: 1 addition & 1 deletion php_krisp.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ PHP_FUNCTION(krisp_open)

PRINT_CALL_API_NAME;

if ( krisp_parameters ("|Sz/", &database, &error) == FAILURE ) {
if ( krisp_parameters ("|S!z/", &database, &error) == FAILURE ) {
return;
}

Expand Down

0 comments on commit 0c9ca6a

Please sign in to comment.