2a437d19647b70674fbd8df8d34d33d32ab83f1d larrym Fri Mar 16 12:19:17 2012 -0700 fix code that was looking for cgiString('hgsid') - this doesn't work if user is coming in with a new cart diff --git src/hg/hgc/t2g.c src/hg/hgc/t2g.c index 6b8b4fc..f3c3c37 100644 --- src/hg/hgc/t2g.c +++ src/hg/hgc/t2g.c @@ -111,31 +111,31 @@ // http://stackoverflow.com/questions/2520952/how-come-checkbox-state-is-not-always-passed-along-to-php-script printf("\n", t2gSecNames[i]); printf("%s\n", secLabels[i]); else printf("value=\"1\">%s\n", secLabels[i]); } printf("\n", cgiString("o")); printf("\n", cgiString("g")); printf("\n", cgiString("t")); printf("\n", cgiString("i")); -printf("\n", cgiString("hgsid")); +printf("\n", cart->sessionId); printf("
"); printf("\n"); printf("

\n"); } static void printLimitWarning(struct sqlConnection *conn, char* markerTable, char* item, int itemLimit, char* sectionList) { char query[4000]; safef(query, sizeof(query), "SELECT COUNT(*) from %s WHERE markerId='%s' AND section in (%s) ", markerTable, item, sectionList); if (sqlNeedQuickNum(conn, query) > itemLimit) { printf("This marker is mentioned more than %d times
\n", itemLimit); printf("The results would take too long to load in your browser and are " "therefore limited to %d articles.

\n", itemLimit);