Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. Index: dbscripts.module
  2. ===================================================================
  3. --- dbscripts.module (révision 1892)
  4. +++ dbscripts.module (copie de travail)
  5. @@ -1952,8 +1952,9 @@
  6. $truncated = explode('_', $table);
  7. $truncated1 = isset($truncated[0]) ? $truncated[0].'_.*' : '';
  8. $truncated2 = isset($truncated[1]) ? $truncated[0].'_'.$truncated[1].'_.*' : '';
  9. + $truncated3 = isset($truncated[2]) ? $truncated[0].'_'.$truncated[1].'_'.$truncated[2].'_.*' : '';
  10.  
  11. - $check_tables = array($table, $truncated1, $truncated2);
  12. + $check_tables = array($table, $truncated1, $truncated2, $truncated3);
  13. foreach ($check_tables as $check) {
  14. if (in_array($check, $tables_compare)) {
  15. $tables_match[$key] = $table;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement