projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Temporary fix for not billable entries in week view.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
ActionForm.class.php
diff --git
a/WEB-INF/lib/form/ActionForm.class.php
b/WEB-INF/lib/form/ActionForm.class.php
index
ee30f7d
..
ece7ceb
100644
(file)
--- a/
WEB-INF/lib/form/ActionForm.class.php
+++ b/
WEB-INF/lib/form/ActionForm.class.php
@@
-99,17
+99,7
@@
class ActionForm {
$this->mInitForm = true;
}
}
$this->mInitForm = true;
}
}
-
- /**
- * Init custom variables
- *
- * @param unknown $request
- * @param unknown $respons
- */
- function initVariables(&$request, &$respons) {
-
- }
-
+
function setVariablesNames($namelist) {
$this->mVariables = $namelist;
}
function setVariablesNames($namelist) {
$this->mVariables = $namelist;
}
@@
-186,7
+176,7
@@
class ActionForm {
import('form.'.$ref_el["class"]);
$class_name = $ref_el["class"];
$el = new $class_name($ref_el["name"]);
import('form.'.$ref_el["class"]);
$class_name = $ref_el["class"];
$el = new $class_name($ref_el["name"]);
- if (isset($GLOBALS["I18N"])) $el->
setLocalization
($GLOBALS["I18N"]);
+ if (isset($GLOBALS["I18N"])) $el->
localize
($GLOBALS["I18N"]);
$el->setValueSafe(@$_SESSION[$this->mSessionCell . "_" .$el->getName()]);
if ($this->mForm && !isset($this->mForm->elements[$ref_el["name"]])) {
$el->setValueSafe(@$_SESSION[$this->mSessionCell . "_" .$el->getName()]);
if ($this->mForm && !isset($this->mForm->elements[$ref_el["name"]])) {