diff options
author | friendica <info@friendica.com> | 2013-02-27 00:59:41 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-27 00:59:41 -0800 |
commit | 596ed80adf220920e619dab85bbc9a9aaaff5404 (patch) | |
tree | e66cb32e93aee013f6adf190b8aaeb207b021c27 | |
parent | 48d2f7e07dc4c13ff9e3105f4a9982d3efee1869 (diff) | |
download | volse-hubzilla-596ed80adf220920e619dab85bbc9a9aaaff5404.tar.gz volse-hubzilla-596ed80adf220920e619dab85bbc9a9aaaff5404.tar.bz2 volse-hubzilla-596ed80adf220920e619dab85bbc9a9aaaff5404.zip |
hex2bin is a built-in function in PHP 5.4
-rw-r--r-- | include/text.php | 4 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 747061d3b..1cccc6090 100644 --- a/include/text.php +++ b/include/text.php @@ -223,6 +223,7 @@ function unxmlify($s) { // convenience wrapper, reverse the operation "bin2hex" +if(! function_exists('hex2bin')) { function hex2bin($s) { if(! (is_string($s) && strlen($s))) return ''; @@ -232,7 +233,8 @@ function hex2bin($s) { } return(pack("H*",$s)); -} +}} + // Automatic pagination. // To use, get the count of total items. diff --git a/version.inc b/version.inc index 8c23eaf17..125144eb7 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-02-26.236 +2013-02-27.237 |