FIX: bad method name
This commit is contained in:
parent
62b8c853f5
commit
d4cf2498fe
@ -42,7 +42,7 @@ class Product extends Entity {
|
||||
}
|
||||
}
|
||||
|
||||
public static function sort($prod1, $prod2) {
|
||||
public static function compare($prod1, $prod2) {
|
||||
return strcmp(strtolower($prod1->get_name()),
|
||||
strtolower($prod2->get_name()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user