replace deprecated Minz_Request::param method and use typed version Minz_Request::paramString instead
This commit is contained in:
parent
e3b5e203a1
commit
ffbd56d262
3 changed files with 8 additions and 8 deletions
|
|
@ -30,7 +30,7 @@ class CustomCSSExtension extends Minz_Extension {
|
|||
$tmpPath = explode(EXTENSIONS_PATH . '/', $filepath);
|
||||
$this->permission_problem = $tmpPath[1];
|
||||
} else if (Minz_Request::isPost()) {
|
||||
$css_rules = html_entity_decode(Minz_Request::param('css-rules', ''));
|
||||
$css_rules = html_entity_decode(Minz_Request::paramString('css-rules'));
|
||||
file_put_contents($filepath, $css_rules);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue