Skip to content

Commit

Permalink
Merge pull request #12 from massmarz/patch-1
Browse files Browse the repository at this point in the history
Update fbcopy.cpp
  • Loading branch information
mariuz committed Aug 17, 2015
2 parents 6f9e551 + 475a518 commit 612a2ff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion fbcopy/fbcopy.cpp
Expand Up @@ -832,7 +832,14 @@ int FBCopy::compareGenerators(IBPP::Transaction tr1, IBPP::Transaction tr2)
st2->Set(1, s);
st2->Execute();
bool has = st2->Fetch();
if (ar->Html)
if (ar->Operation == opSingle)
{
if(has)
{
copyGeneratorValues(s.c_str(), s.c_str());
}
}
else if (ar->Html)
{
static int color = 0;
printf("<TR BGCOLOR=%s><TD COLSPAN=4>%s</TD></TR>\n",
Expand Down

0 comments on commit 612a2ff

Please sign in to comment.