// "Compiles" the given value and sets it in given key
function setSessionCompiled ($key, $value) {
- // "Compile" the value
- $value = doFinalCompilation(compileRawCode($value));
+ // Debug message
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key[]=' . gettype($key) . ',value[]=' . gettype($value));
+
+ // Is the value not an array?
+ if (!is_array($value)) {
+ // "Compile" the value
+ $value = doFinalCompilation(compileRawCode($value));
+ } // END - if
// And set it
return setSession($key, $value);