From c56ee67e29e89f5158801ba7bbe8f574a93215b4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 11 Jun 2001 20:01:13 +0000 Subject: - Changed field_set(), field_get() and field_merge() to use ',' and '=' instead of ';' and ':'. It is considered to be more readable. --> A _first_ step towards and improved index.module. Stay tuned for more. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! - Changed all 'attribute' to 'attributes'. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! + Important: This might require to ieni-wieni small update to your custom themes and/or node-related modules: - themes: node_index($node->attribute) -> node_index($node) - node modules: attribute -> attributes --- modules/account.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/account.module') diff --git a/modules/account.module b/modules/account.module index 200cf7c22..62a9cb85d 100644 --- a/modules/account.module +++ b/modules/account.module @@ -95,9 +95,9 @@ function account_overview($query = array()) { } function account_access($account) { - $data = explode(";", $account->access); + $data = explode(",", $account->access); foreach ($data as $array) { - $access = explode(":", $array); + $access = explode("=", $array); if ($access[0]) $output .= " $access[0]"; } return $output; -- cgit v1.2.3