- access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names and so on) - fixed a lot of warnings that would have been thrown when error_reporting is set to show notices (if(isset($variable))) instead of if($variable) for example)
This commit is contained in:
@@ -53,7 +53,7 @@ if($sub)
|
||||
$fullAppName = "Application: ".lookupAppName($appId)." Version: ".lookupVersionName($appId, $versionId);
|
||||
$ms = APPDB_ROOT."appview.php?appId=$appId&versionId=$versionId"."\n";
|
||||
$ms .= "\n";
|
||||
$ms .= ($current->username ? $current->username : "Anonymous")." deleted note from ".$fullAppName."\n";
|
||||
$ms .= ($_SESSION['current']->username ? $_SESSION['current']->username : "Anonymous")." deleted note from ".$fullAppName."\n";
|
||||
$ms .= "\n";
|
||||
$ms .= "title: ".$oldNoteTitle."\n";
|
||||
$ms .= "\n";
|
||||
@@ -92,7 +92,7 @@ if($sub)
|
||||
$fullAppName = "Application: ".lookupAppName($appId)." Version: ".lookupVersionName($appId, $versionId);
|
||||
$ms = APPDB_ROOT."appview.php?appId=$appId&versionId=$versionId"."\n";
|
||||
$ms .= "\n";
|
||||
$ms .= ($current->username ? $current->username : "Anonymous")." changed note for ".$fullAppName."\n";
|
||||
$ms .= ($_SESSION['current']->username ? $_SESSION['current']->username : "Anonymous")." changed note for ".$fullAppName."\n";
|
||||
$ms .= "\n";
|
||||
$ms .= "From --------------------------\n";
|
||||
$ms .= "title: ".$oldNoteTitle."\n";
|
||||
|
||||
Reference in New Issue
Block a user