Skip to content

Commit

Permalink
Release .7.0
Browse files Browse the repository at this point in the history
   Fixes all known issues with php7+
  • Loading branch information
wnoisephx committed Oct 26, 2016
1 parent fb4b2d7 commit bf89e23
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions include/classes/tzn_generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,11 +720,11 @@ function set($key,$value)
}
}

function setUid($value) {
if (preg_match('/^[0-9a-zA-Z]*$/',$value)) {
$this->id = $value;
}
}
function setUid($value) {
if (preg_match('/^[0-9a-zA-Z]*$/',$value)) {
$this->id = $value;
}
}

function getReg($value,$regexp) {
if (preg_match($regexp,$value)) {
Expand Down
4 changes: 2 additions & 2 deletions include/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@

// === TASKFREAK CUSTOMIZATION ================================

define('FRK_VERSION','0.6.4');
define('FRK_VERSION_RELEASE','2010-06-27');
define('FRK_VERSION','0.7.0');
define('FRK_VERSION_RELEASE','2016-10-26');

define('FRK_MYSQL_VERSION_GT_4_1',FALSE);

Expand Down
4 changes: 2 additions & 2 deletions user_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@
."OR username LIKE '$hParam')");
}

if ($sCountry = Tzn::getReg($_REQUEST['country'],'^[A-Z]+$')) {
if ($sCountry = Tzn::getReg($_REQUEST['country'],'/^[A-Z]+$/')) {
$objItemList->addWhere("member.countryId='".$sCountry."'");
}

if ($sState = Tzn::getReg($_REQUEST['state'],'^[A-Z]+$')) {
if ($sState = Tzn::getReg($_REQUEST['state'],'/^[A-Z]+$/')) {
$objItemList->addWhere("member.stateCode='".$sState."'");
}

Expand Down

0 comments on commit bf89e23

Please sign in to comment.