cvs: pearweb /include pear-voter.php
| From: | Greg Beaver | Date: | Fri, 10 Nov 2006 04:39:05 +0000 |
| Subject: | cvs: pearweb /include pear-voter.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5168@lists.php.net to get a copy of this message | ||
cellog Fri Nov 10 04:39:05 2006 UTC
Modified files:
/pearweb/include pear-voter.php
Log:
fix fatal error by wrong member name
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-voter.php?r1=1.5&r2=1.6&diff_format=u
Index: pearweb/include/pear-voter.php
diff -u pearweb/include/pear-voter.php:1.5 pearweb/include/pear-voter.php:1.6
--- pearweb/include/pear-voter.php:1.5 Thu Nov 9 05:10:17 2006
+++ pearweb/include/pear-voter.php Fri Nov 10 04:39:05 2006
@@ -221,22 +221,22 @@
}
if ($info['eligiblevoters'] == 1) {
// PEAR developers
- if ($this->karma->has($this->user, 'pear.dev')) {
+ if ($this->damblan->has($this->user, 'pear.dev')) {
return true;
}
- if ($this->karma->has($this->user, 'pear.admin')) {
+ if ($this->damblan->has($this->user, 'pear.admin')) {
return true;
}
return false;
} elseif ($info['eligiblevoters'] == 2) {
// general PHP public + PEAR developers
- if ($this->karma->has($this->user, 'pear.dev')) {
+ if ($this->damblan->has($this->user, 'pear.dev')) {
return true;
}
- if ($this->karma->has($this->user, 'pear.admin')) {
+ if ($this->damblan->has($this->user, 'pear.admin')) {
return true;
}
- if ($this->karma->has($this->user, 'pear.voter')) {
+ if ($this->damblan->has($this->user, 'pear.voter')) {
return true;
}
return false;