Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix a wrong validation event check. #5

Merged
merged 1 commit into from

2 participants

@mehlah

Rusty code fixed

@gwoo
Owner

need to rebase this one since #4 was merged.

@mehlah

Rebased

@gwoo gwoo merged commit 79caa3d into UnionOfRAD:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 25, 2012
  1. @mehlah
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/li3_users/models/Users.php
View
2  libraries/li3_users/models/Users.php
@@ -15,7 +15,7 @@
$conditions = array();
if (!empty($value)) {
$conditions[$options['field']] = $value;
- if ($options['events']['update'] && !empty($options['values']['_id'])) {
+ if ($options['events'] == 'update' && !empty($options['values']['_id'])) {
if ($options['field'] == '_id' && $value == $options['values']['_id']) {
return true;
}
Something went wrong with that request. Please try again.