Changeset 53957 in spip-zone for _plugins_/langonet/inc/langonet_verifier_l.php
- Timestamp:
- Nov 2, 2011, 8:13:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/langonet/inc/langonet_verifier_l.php
r53560 r53957 92 92 $index = preg_replace('/\b\w{1,3}\W/', '', $index); 93 93 if (strlen($index) > 32) { 94 // tant pis mais couper proprement 94 // tant pis mais couper proprement si possible 95 95 $index = substr($index, 0, 32); 96 $index = substr($index, 0, strrpos($index,' ')); 96 if ($n = strrpos($index,' ')) 97 $index = substr($index, 0, $n); 97 98 } 98 99 }
Note: See TracChangeset
for help on using the changeset viewer.