Overview
Comment:Correction bug [edda38ee74], merge dans stable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | stable
Files: files | file ages | folders
SHA1: a148b1e08adfceef42dbf6ceccccf0c75024a074
User & Date: bohwaz on 2013-06-08 08:09:51
Other Links: manifest | tags
Context
2013-06-08
08:24
Correction recherche numéro téléphone [cd3c4650bf] check-in: 56382af0c1 user: bohwaz tags: stable, 0.5.4
08:10
Merge avec stable check-in: f90c3ac859 user: bohwaz tags: trunk
08:09
Correction bug [edda38ee74], merge dans stable check-in: a148b1e08a user: bohwaz tags: stable
2013-05-24
09:59
Fix [5c3ae7eab8] bug navigateurs avec valeurs décimales check-in: 5fb2180a32 user: bohwaz tags: stable
Changes

Modified include/class.sauvegarde.php from [1e52e2ca98] to [0f64cbe808].

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		{
			$this->remove(key($list));
			$list = array_shift($list);
		}

		foreach ($list as $f=>$d)
		{
			$new = preg_replace_callback('/\.(\d+)\.auto\.sqlite$!', function ($m) {
				return (int) $m[1] + 1;
			}, $f);

			rename(GARRADIN_DATA_ROOT . '/' . $f, GARRADIN_DATA_ROOT . '/' . $new);
		}

		return true;







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
		{
			$this->remove(key($list));
			$list = array_shift($list);
		}

		foreach ($list as $f=>$d)
		{
			$new = preg_replace_callback('!\.(\d+)\.auto\.sqlite$!', function ($m) {
				return (int) $m[1] + 1;
			}, $f);

			rename(GARRADIN_DATA_ROOT . '/' . $f, GARRADIN_DATA_ROOT . '/' . $new);
		}

		return true;