| 
														
															@@ -115,13 +115,14 @@ class D7FlagListsMaterio extends SqlBase { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     // limit folder name to 32 characters (32 bytes, special chars like é use 2 bytes) 
														 | 
														
														 | 
														
															     // limit folder name to 32 characters (32 bytes, special chars like é use 2 bytes) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     $title = $row->getSourceProperty('title'); 
														 | 
														
														 | 
														
															     $title = $row->getSourceProperty('title'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    // drush_print("\n".'Title ' . $title); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     $title = $this->remove_accents($title); 
														 | 
														
														 | 
														
															     $title = $this->remove_accents($title); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     $title = preg_replace("/\s+/", " ", $title); 
														 | 
														
														 | 
														
															     $title = preg_replace("/\s+/", " ", $title); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    if (mb_strlen($title) > 32) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	    // drush_print('long ' . $title); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      $title = mb_strcut($title, 0 , 25).'…'; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	    // drush_print('short' . $title); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    // drush_print("\t" . strlen($title)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    if (strlen($title) > 25) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	    // drush_print("\t".$title); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      $title = mb_strcut($title, 0 , 25); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+	    // drush_print("\t".$title); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     $row->setSourceProperty('title', $title); 
														 | 
														
														 | 
														
															     $row->setSourceProperty('title', $title); 
														 |