mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-19 09:31:38 -04:00
Fixes a bug with #35.
* nulls work in mysql query which allows for unusual sitations to work
This commit is contained in:
+2
-2
@@ -165,7 +165,7 @@ $(function() {
|
|||||||
last_index = last_index - 1;
|
last_index = last_index - 1;
|
||||||
$.each($("td a[href*='individual_history']"), function(index) {
|
$.each($("td a[href*='individual_history']"), function(index) {
|
||||||
|
|
||||||
if (this.href.match(/\d+$/)) {
|
if (this.href.match(/\d*$/)) {
|
||||||
|
|
||||||
var id = this.href.match(/\d+$/);
|
var id = this.href.match(/\d+$/);
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ $(function() {
|
|||||||
volunteer_ids += "contacts.contact_id=" + id + " OR ";
|
volunteer_ids += "contacts.contact_id=" + id + " OR ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user