Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c854d06b2 | |||
| cac359a88b | |||
| 0c45c6efe7 |
@@ -1 +1 @@
|
|||||||
4.4.1
|
4.5.1
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ if [ "${go_flag}" != "go" ]; then
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
echo "[START]";
|
echo "[START]";
|
||||||
|
|
||||||
# gitea
|
# gitea
|
||||||
if [ ! -z "${GITEA_UPLOAD_FILENAME}" ] &&
|
if [ ! -z "${GITEA_UPLOAD_FILENAME}" ] &&
|
||||||
[ ! -z "${GITEA_URL_DL}" ] && [ ! -z "${GITEA_URL_PUSH}" ] &&
|
[ ! -z "${GITEA_URL_DL}" ] && [ ! -z "${GITEA_URL_PUSH}" ] &&
|
||||||
@@ -82,6 +83,7 @@ if [ ! -z "${GITLAB_URL}" ] && [ ! -z "${GITLAB_DEPLOY_TOKEN}" ]; then
|
|||||||
else
|
else
|
||||||
echo "Missing GITLAB_DEPLOY_TOKEN environment variable";
|
echo "Missing GITLAB_DEPLOY_TOKEN environment variable";
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
echo "";
|
echo "";
|
||||||
echo "[DONE]";
|
echo "[DONE]";
|
||||||
|
|
||||||
|
|||||||
@@ -640,17 +640,18 @@ abstract class Smarty_Internal_TemplateCompilerBase
|
|||||||
return $func_name . '(' . $parameter[ 0 ] . ')';
|
return $func_name . '(' . $parameter[ 0 ] . ')';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$first_param = array_shift($parameter);
|
|
||||||
$modifier = array_merge(array($name), $parameter);
|
if (
|
||||||
// Now, compile the function call as a modifier
|
!$this->smarty->loadPlugin('smarty_modifiercompiler_' . $name)
|
||||||
return $this->compileTag(
|
&& !isset($this->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER][$name])
|
||||||
'private_modifier',
|
&& !in_array($name, ['time', 'join', 'is_array', 'in_array'])
|
||||||
array(),
|
) {
|
||||||
array(
|
trigger_error('Using unregistered function "' . $name . '" in a template is deprecated and will be ' .
|
||||||
'modifierlist' => array($modifier),
|
'removed in a future release. Use Smarty::registerPlugin to explicitly register ' .
|
||||||
'value' => $first_param
|
'a custom modifier.', E_USER_DEPRECATED);
|
||||||
)
|
}
|
||||||
);
|
|
||||||
|
return $name . '(' . implode(',', $parameter) . ')';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->trigger_template_error("unknown function '{$name}'");
|
$this->trigger_template_error("unknown function '{$name}'");
|
||||||
|
|||||||
Reference in New Issue
Block a user