Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using subval_sort?
#1
Hi-

I implemented a subval_sort function in my functions.php only to discover that one already exists in the core.

Is it safe to use the one in the core? Or should I write my own with a different name?

-Rob A>
Reply
#2
They should both be the same I am sure... you are free to use the GetSimple version since it's used everywhere and wont be going anywhere any time soon.

http://code.google.com/p/get-simple-cms/...ic.php#116
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
Yours has a bit more error checking Blush

I guess to be paranoid I could include it wrapped in a !function_exists check.

Thanks for the quick reply though.

-Rob A>
Reply




Users browsing this thread: 1 Guest(s)