706c8c2b49fcbd941c9da43c1b8a950c0c33f5ba
galt
Mon Feb 10 23:54:13 2014 -0800
now converting hgsid and hguid to strings. when the hgsid cart var or hguid cookie is not found it returns NULL instead of 0.
diff --git src/hg/hgc/pubs.c src/hg/hgc/pubs.c
index a968d65..a6f6eda 100644
--- src/hg/hgc/pubs.c
+++ src/hg/hgc/pubs.c
@@ -355,31 +355,31 @@
// http://stackoverflow.com/questions/2520952/how-come-checkbox-state-is-not-always-passed-along-to-php-script
printf("\n", pubsSecNames[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", cart->sessionId);
+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];
// no need to check for illegal characters in sectionList
sqlSafef(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 "