mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 16:28:53 +00:00
Merge branch 'develop-ascraeus' into develop
This commit is contained in:
commit
b4a2beff24
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ class profilefield_remove_underscore_from_alpha extends \phpbb\db\migration\migr
|
|||
public function update_validation_rule($old_validation, $new_validation)
|
||||
{
|
||||
$sql = 'UPDATE ' . PROFILE_FIELDS_TABLE . "
|
||||
SET field_validation = '" . $this->db->sql_escpape($new_validation) . "'
|
||||
WHERE field_validation = '" . $this->db->sql_escpape($old_validation) . "'";
|
||||
SET field_validation = '" . $this->db->sql_escape($new_validation) . "'
|
||||
WHERE field_validation = '" . $this->db->sql_escape($old_validation) . "'";
|
||||
$this->db->sql_query($sql);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue