[contributions(DRUPAL-5):ax] /modules/favorite_nodes favorite_nodes.module
23 Nov
2007
23 Nov
'07
11:04 a.m.
User: ax Branch: DRUPAL-5 Date: Fri, 23 Nov 2007 10:04:26 +0000 Modified files: /modules/favorite_nodes favorite_nodes.module Log message: * <code>$node_types = node_get_types(); natcasesort($node_types);</code> throws "Object of class stdClass could not be converted to string" [1]. replaced all instances of node_get_types() (and natcasesort()) with a custom, cached function _node_types_natcasesort() that sorts the output of node_get_types() case insensitive by node type name. * removed 2 remaining + diff indicators * coding style [1] http://drupal.org/node/64279#comment-202377 Links: http://cvs.drupal.org/diff.php?path=contributions/modules/favorite_nodes/fav...
6797
Age (days ago)
6797
Last active (days ago)
0 comments
1 participants
participants (1)
-
drupal-cvs@drupal.org