Commit bcb068e3 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

typo

parent d2581e5d
...@@ -474,7 +474,7 @@ function substitute_value($ifd_entry) { ...@@ -474,7 +474,7 @@ function substitute_value($ifd_entry) {
$camera_state_path = "/var/volatile/state/camera"; $camera_state_path = "/var/volatile/state/camera";
if (file_exists ($camera_state_path)) { if (file_exists ($camera_state_path)) {
$pars= parse_ini_file($camera_state_path); $pars= parse_ini_file($camera_state_path);
$model = $pars['application']."_".$par['mode']; $model = $pars['application']."_".$pars['mode'];
} else { } else {
$model = $DeviceModel; $model = $DeviceModel;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment