diff --git a/lib/modules/ADT.pmod/Table.pmod b/lib/modules/ADT.pmod/Table.pmod index 3f1d878b2df6c75b3659b77f009245b5266f7611..8796279f45456f80bbcb8ebec6719dbf548f8b0a 100644 --- a/lib/modules/ADT.pmod/Table.pmod +++ b/lib/modules/ADT.pmod/Table.pmod @@ -1,5 +1,5 @@ // Table.pmod by Fredrik Noring, 1998 -// $Id: Table.pmod,v 1.5 1998/05/09 22:13:58 noring Exp $ +// $Id: Table.pmod,v 1.6 1998/05/09 22:38:58 noring Exp $ #define TABLE_ERR(msg) throw(({ "(Table) "+msg+"\n", backtrace() })) @@ -153,7 +153,7 @@ class table { return select(@remap(fields) - remap(cs, 1)); } - object where(function f, array(int|string)|int|string cs, mixed ... args) + object where(array(int|string)|int|string cs, function f, mixed ... args) { array t = ({}); cs = remap(arrayp(cs)?cs:({ cs }));