Skip to content

Commit efdf738

Browse files
committed
[smarcet]
* only reset type classifier if not is marked as spam
1 parent 0da5cbb commit efdf738

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

registration/code/infrastructure/active_records/OpenStackMember.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function onBeforeWrite()
133133

134134
// reset spam check
135135

136-
if(isset($fields['Bio']))
136+
if(isset($fields['Bio']) && $this->owner->Type != 'Spam')
137137
{
138138
$bio_old = trim($fields['Bio']['before']);
139139
$bio_new = trim($fields['Bio']['after']);

0 commit comments

Comments
 (0)