ports/109457: maintainer update: drupal-taxonomy_access - 4.7.x-1.x-dev-20070205, 1
Nick Hilliard
nick at foobar.org
Fri Feb 23 12:00:15 UTC 2007
>Number: 109457
>Category: ports
>Synopsis: maintainer update: drupal-taxonomy_access - 4.7.x-1.x-dev-20070205,1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 23 12:00:14 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Nick Hilliard
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD xx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed May 17 11:38:53 IST 2006 nick at xxx:/data/src/usr.src/src-6.1/src/sys/i386/compile/xxx i386
>Description:
Fix for permissions on drupal taxonomy_access module. See http://drupal.org/node/115502 for more details.
>How-To-Repeat:
>Fix:
diff -Nur drupal-taxonomy_access/Makefile drupal-taxonomy_access-devel/Makefile
--- drupal-taxonomy_access/Makefile Fri Feb 9 18:03:39 2007
+++ drupal-taxonomy_access-devel/Makefile Fri Feb 23 11:39:13 2007
@@ -8,6 +8,7 @@
PORTNAME= taxonomy_access
DISTVERSION= 4.7.x-1.x-dev
PORTREVISION= 20070205
+PORTEPOCH= 1
CATEGORIES= www security
MASTER_SITE_SUBDIR= pav/drupal
diff -Nur drupal-taxonomy_access/files/patch-taxonomy_access::taxonomy_access_admin.inc drupal-taxonomy_access-devel/files/patch-taxonomy_access::taxonomy_access_admin.inc
--- drupal-taxonomy_access/files/patch-taxonomy_access::taxonomy_access_admin.inc Thu Jan 1 01:00:00 1970
+++ drupal-taxonomy_access-devel/files/patch-taxonomy_access::taxonomy_access_admin.inc Fri Feb 23 11:37:59 2007
@@ -0,0 +1,36 @@
+--- taxonomy_access_admin.inc.orig Sat Nov 4 22:50:38 2006
++++ taxonomy_access_admin.inc Fri Feb 23 10:57:47 2007
+@@ -127,7 +127,7 @@
+ $form['taxonomy_access'][$vocab->vid]['default'][$grant] = array(
+ '#type' => 'radios',
+ '#options' => $radios,
+- '#default_value' => $default[$vocab->vid][$grant],
++ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0,
+ );
+ }
+ foreach (array('create', 'list') as $grant) {
+@@ -137,7 +137,7 @@
+ );
+ $form['taxonomy_access'][$vocab->vid]['default'][$grant] = array(
+ '#type' => 'checkbox',
+- '#default_value' => $default[$vocab->vid][$grant],
++ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0,
+ );
+ }
+
+@@ -150,13 +150,13 @@
+ $form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array(
+ '#type' => 'radios',
+ '#options' => $radios,
+- '#default_value' => $perm[$term->tid][$grant],
++ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0,
+ );
+ }
+ foreach (array('create', 'list') as $grant) {
+ $form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array (
+ '#type' => 'checkbox',
+- '#default_value' => $perm[$term->tid][$grant],
++ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0,
+ );
+ }
+ }
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list