Skip to content
Snippets Groups Projects
Commit 7c7be831 authored by Robert Loipfinger's avatar Robert Loipfinger
Browse files

Organisation.AddToCampaign: Error calculating rowcount

parent 1d2d6edf
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,7 @@ import("system.vars");
import("system.neon");
import("system.result");
var query = "select count(*) from ORGANISATION where ORGANISATIONID != '0'"
var contactCount = db.cell(query);
var contactCount = vars.get("$sys.datarowcount");
if(contactCount > 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment