diff --git a/__ifrow.cpp b/__ifrow.cpp index 93ef607..3e66628 100644 --- a/__ifrow.cpp +++ b/__ifrow.cpp @@ -7,14 +7,16 @@ namespace jet { - __ifrow::__ifrow(coreutils::ZString &in, coreutils::MString &parent, Global &global) : Tag(in, parent, global) { + __ifrow::__ifrow(coreutils::ZString &in, coreutils::MString &parent, Global &global) : Tag(in, parent, global, "else") { output = false; if(!hasContainer) throw coreutils::Exception("ifrow tag must have a container."); if(!global.sessionExists(variables["sessionid"])) throw coreutils::Exception("sessionid does not exist."); if(global.getSession(variables["sessionid"])->hasRow()) - processContainer(container); + processContainer(container); + else + processContainer(container2); } } diff --git a/jet-2.0 b/jet-2.0 index 8cf815c..085a137 100755 Binary files a/jet-2.0 and b/jet-2.0 differ