summaryrefslogtreecommitdiffstats
path: root/codebase/strategy.php
diff options
context:
space:
mode:
authorStanislau Wolski <stanislau.wolski@gmail.com>2013-10-03 19:21:34 +0300
committerStanislau Wolski <stanislau.wolski@gmail.com>2013-10-03 19:21:34 +0300
commitfcb32da12351b71c2d9b2d317744e2c6a850c332 (patch)
tree75015c87e88a1c7a38b2355ebf199f4f0ef4065e /codebase/strategy.php
parent394f114ab531f4a89555a3bd347a8cd3591364e6 (diff)
downloadconnector-php-fcb32da12351b71c2d9b2d317744e2c6a850c332.zip
connector-php-fcb32da12351b71c2d9b2d317744e2c6a850c332.tar.gz
connector-php-fcb32da12351b71c2d9b2d317744e2c6a850c332.tar.bz2
[update] better support of GanttConnector
Diffstat (limited to 'codebase/strategy.php')
-rw-r--r--codebase/strategy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/strategy.php b/codebase/strategy.php
index 92deadc..c011297 100644
--- a/codebase/strategy.php
+++ b/codebase/strategy.php
@@ -46,7 +46,7 @@ class RenderStrategy {
protected function simple_mix($mix, $data) {
// get mix details
for ($i = 0; $i < count($mix); $i++)
- $data[$mix[$i]["name"]] = is_string($mix[$i]["value"]) ? $mix[$i]["value"] : "";
+ $data[$mix[$i]["name"]] = is_object($mix[$i]["value"]) ? "" : $mix[$i]["value"];
return $data;
}