<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$new = $this->prepareField($value);
$newLen = strlen($new);
$success = $this->matchWord($old, $new, $newLen)
- || $this->matchWord($ini, $new, $newLen);
+ || $this->matchWord($ini, $new, $newLen)
+ || ($field == 'nom' && $new == 'DE ' . $old);
if (!$success) {
global $page;
$page->trig("Le $field que tu as choisi ($value) est trop loin de ton $field initial ($init)"
$this->settings['appli1']
= $this->settings['appli2']
= new ProfileAppli();
+ $this->watched= array('nom' => true, 'freetext' => true, 'mobile' => true, 'web' => true,
+ 'appli1' => true, 'appli2' => true, 'nationalite' => true, 'nick' => true);
}
protected function _fetchData()